Skip to main content

Hi,

I just installed the last patch to try out the TLS connection to send emails and I´m getting error -9 on the logon, this is my code:

newinstance "UPOPMAIL", mailHandler
mailHandler->SetSecurity("SMTP=UAuthLoginSMTP", "user=username;password=password")
mailHandler->LogonSMTP("TLS:smtp.office365.com+587", "", "")
...
mailHandler->LogoffSMTP()

I got the uauthlogin on the 3GL section of the .asn   

Thanks

Hi,

I just installed the last patch to try out the TLS connection to send emails and I´m getting error -9 on the logon, this is my code:

newinstance "UPOPMAIL", mailHandler
mailHandler->SetSecurity("SMTP=UAuthLoginSMTP", "user=username;password=password")
mailHandler->LogonSMTP("TLS:smtp.office365.com+587", "", "")
...
mailHandler->LogoffSMTP()

I got the uauthlogin on the 3GL section of the .asn   

Thanks

Hi,

at this moment the UPOPMAIL component only supports implicit TLS connections (usually using port 465).

The mail server you are trying to use is probably using STARTTLS, which will take an existing insecure connection and upgrade it to a secure connection using SSL/TLS. This functionality is currently not implemented in UPOPMAIL. Sorry.

I hope this helps.

Kind regards,
Daniel


Hi,

at this moment the UPOPMAIL component only supports implicit TLS connections (usually using port 465).

The mail server you are trying to use is probably using STARTTLS, which will take an existing insecure connection and upgrade it to a secure connection using SSL/TLS. This functionality is currently not implemented in UPOPMAIL. Sorry.

I hope this helps.

Kind regards,
Daniel

We'll update the documentation of the UPOPMAIL component to make it more clear that STARTTLS is currently not supported.


Hi,

at this moment the UPOPMAIL component only supports implicit TLS connections (usually using port 465).

The mail server you are trying to use is probably using STARTTLS, which will take an existing insecure connection and upgrade it to a secure connection using SSL/TLS. This functionality is currently not implemented in UPOPMAIL. Sorry.

I hope this helps.

Kind regards,
Daniel

Just a quick FYI: I've double checked with the lab and there is a story on the backlog for supporting STARTTLS. Hopefully this can be picked up soon.