Send SMTP Mail

Hi,

I’m trying to send smtp mails but it is not working. I’m using the password app I’ve created in my google account:


This is how I have configured the properties. The error is:

Thanks in advance :slight_smile:

Gmail

SMTP Server: smtp.gmail.com

Port: If SSL is enabled use Port 465. If TLS is enabled use Port 587.

For more info
https://forum.uipath.com/t/send-smtp-mail-message-using-gmail/1256/9

It doesn’t work with the port 465 either…

  1. Open your UiPath project and drag the “Send SMTP Mail Message” activity onto your workflow.
  2. Configure the SMTP server by entering its address in the “MailServer” property and specifying the appropriate port (typically 25, 587, or 465).
  3. If your SMTP server requires authentication, provide the username and password in the respective properties.
  4. Set the email details, including the sender’s email address in the “From” property, recipient(s) in the “To” property (separated by commas for multiple recipients), and specify the subject and body of the email.
  5. Optionally, attach files by using the “Attachments” property, providing a string with the file path or an array of strings for multiple attachments.
  6. For a secure connection (if required), set the “SecureConnection” property to options like None, Auto, SSL, or TLS.

That’s exactly what I’m doing and I get the error you can see in the pic.
Thanks