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.
asesor-rpa
(Nestor Andres Martinez)
June 18, 2019, 7:02pm
2
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.
asesor-rpa
(Nestor Andres Martinez)
June 18, 2019, 7:18pm
4
Try setting SecureConnection Property with “StartTls”
Kindly have a look on this once buddy, try with . net method of sending mail invoke method Activity
Encountered this issue at two different places. First place agreed to change their server settings so it could work. Second place, I decided to try write it using .NET directly, which turned out to be quite easy as you can just use the SmtpClient class.
e.g.
Invoke Method
Target Type: (null)
Target: new SmtpClient(server,port)
Method: Send
Parameter collection:
String = sender (any valid address)
String = recipient
String = subject
String = body
(Could equally create a MailMessage obj…
Cheers @MaxyArthes
Tried this, I actually got no error but never received the email using invoke method.