SMTP error: No compatible authentication mechanisms found

I tried to send a mail via SMTP but I keep getting that error:
System.NotSupportedException: No compatible authentication mechanisms found.

I’m using a private SMTP server, so I won’t be able to tell it here.

but I tried using:
Server: outlook.office365.com
Port: 587

without any issue, so I’m not really looking at a solution specific to UiPath, but more for people who had the same problem and know what need to be changed on the SMTP server.

Were you trying with a SSL Enabled connection?

SecureConnection: SslOnConnection ?
If so, I was using ‘Auto’ but using SslOnConnection give me :
System.IO.IOException: The handshake failed due to an unexpected packet format.

Try setting SecureConnection Property with “StartTls”

Kindly have a look on this once buddy, try with . net method of sending mail invoke method Activity

Cheers @MaxyArthes

Tried this, I actually got no error but never received the email using invoke method.