How to resolve SMTP email failures?



Hello, I wish to send an email using the SMTP Email activity, with a username and password. Theoretically, everything is configured, but the emails are not being delivered. Do you have any tips that might help me resolve this issue? The email I am sending from is a Gmail account, and the recipients are a Live email and another Gmail account.

Hi,

Do you have any error message? Can you share it?

Regards,

1 Like

There is no error; the activity concludes successfully, yet the email never arrives.

Capture the output variable ‘result,’ which returns the number 250.

image

Hi,

To isolate cause, can you check the following document, for now?

Regards,

1 Like

I apologize; I just realized that the option “Continue on Error” was enabled. The error encountered was as follows: “Send SMTP Email: 5.7.0 Must issue a STARTTLS command first. For more information, visit About SMTP error messages - Google Workspace Admin Help and review RFC 3207 specifications. 98e67ed59e1d1-33b529e0e9asm200157a91.4 - gsmtp.” Subsequently, I managed to resolve the issue by following this thread: Studio - Enabling Gmail for Email Activities.

1 Like

Hi,

How about using 465 port instead of 587?

Regards,

Hi @Matias_Clemente.Arg

Have a look at this document regarding using Gmail SMTP Server to send messages from Apps etc.
The informations needed for setup is listed.

Regards
Soren

1 Like

Hi @Matias_Clemente.Arg

If you’re in a corporate environment, port 587 might be blocked.
To test it, open Command Prompt and run:

telnet smtp.gmail.com 587

If it fails to connect, contact IT to allow outbound connections on port 587.

1 Like

Apologies, I forgot to mark it as resolved. I needed to enable POP3/IMAP activities in Gmail as indicated in this guide: Studio - Enabling Gmail for Email Activities. Thank you all for your assistance.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.