Configure SMTP for Anonymous mail



How to configure SMTP without username and password.
it is giving me authentication error but SMTP using Powershell is working fine for same
@badita please help


I too exactly have the same issue, UiPath force for authentication always.

There is no settings to turn it off.

Someone please Help!!!


Just send the message via invoke code using SmtpClient. Remember to import System.Net.Mail namespace.

Sample code below:

Dim smtpClient As SmtpClient = New SmtpClient()
Dim mailMessage As MailMessage = New MailMessage()

mailMessage.From = New MailAddress("", "Name")
mailMessage.Subject = "Subject"

mailMessage.IsBodyHtml = True
mailMessage.Body = yourMailBody

smtpClient.Host = yourSmtpHost
smtpClient.Port = yourSmtpPort


How to send e-mail using UiPath (SMTP) without authentication
AuthenticationChallenge exception when using Send SMTP Mail Message