1. Michael Kench
  2. PowerBuilder
  3. Wednesday, 13 December 2017 00:50 AM UTC

Hi Guys,

I have been using Rolands EmailSMTP object n_smtp for years using port 25 to send email without problem. But now I am trying to use port 465 and SSL with it using cryptlib and i am getting an error. "Cryptsetattribute (activate the Session): This type of operation not available   Invalid certificate chain."

Am I missing something?  Any suggestion on how to track this problem down. Using PB 11.2

Or do i need to look at an alternative to send email with SSL.

Thanks Michael

  1. Thursday, 14 December 2017 13:05 PM UTC
  2. PowerBuilder
  3. # 1


I'm no expert but I think the clue is the certificate chain. What certificate have you installed on the SMTP server? Is this valid?



  1. Michael Kench
  2. Friday, 15 December 2017 04:18 AM UTC
Hi Dave,

I don't have a certificate. I'm simply using our ISP mail server with my user/pass supplied. MS outlook somehow magically sends emails with this mail server using SSL.  I was hoping I could do the same when sending emails in my app.

Cheers Michael

  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.