1. Miguel Alzate
  2. PowerBuilder
  3. Monday, 1 March 2021 19:17 PM UTC

Hi, everybody.

Getting below error when trying to send SMTP mail using CL32.DLL for encryption:

cryptSetAttribute: Cannot open object

It happens in some machines but not in others. It’s a client/server app using PB 2017 R3. Mail server is smtp.gmail.com on port 465 with SSL protocol.

Any ideas?

 

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 1 March 2021 21:28 PM UTC
  2. PowerBuilder
  3. # Permalink

That SMTP example uses a really old security DLL. You'll have better luck with this one:

https://www.topwizprogramming.com/pbnismtp.html

 

Comment
There are no comments made yet.
Dsr Universal Accepted Answer Pending Moderation
  1. Monday, 26 July 2021 14:59 PM UTC
  2. PowerBuilder
  3. # 1

Hi

Hello, I get an error (not in all situations, I add a file specifying in which situation) when trying to connect by SSL and TLS on port 587. I need to solve all possible cases of sending mail. Thank you

Attachments (1)
Comment
  1. Roland Smith
  2. Monday, 26 July 2021 18:13 PM UTC
EmailSMTP example uses a really old security DLL that I don't have any control over. You should try PBNISMTP which I linked below. It is more up to date.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.