Unable to send email using SMTP activity

Hi,

I am trying to send email from send SMTP activity , getting the following error Send SMTP Mail Message: 5.0.0 Relay Denied 172.30.167.101 not approved by Reject.Rejected.Relay Policy
Please suggest

Could you send a screenshot of the activity along with its properties your using?

@Deeksha check if port and all details are correct

@Deeksha

Check it, it can be example.

image

@Deeksha,

Check with your SMTP server admin for the issue. There is some policy which is restricting your SMTP activity.

Hi, @Deeksha

This “Relay Denied” error usually occurs when the SMTP server you are using does not allow your IP or sender to send emails through it.

If your local SMTP server doesn’t allow relaying, you can use services like Gmail or Outlook. For Gmail, for example:
Server: smtp.gmail.com
Port: 587 (TLS) or 465 (SSL)
Credentials: Your email address and password (or app password if 2-step verification is enabled).

if the server and port are correct then you need admin to enable SMTP in outlook account , it is disabled by default

Hi @Deeksha ,

Most likely there’s an internal SMTP relay server and the server admin has configured a Relay whitelist for IPs that are allowed to relay emails through it to an external SMTP mail server in the cloud. Please contact your IT support desk to have the bot server IP whitelisted. Many workplaces won’t allow user devices to relay emails; this would be an issue if you want to test/debug bot process on your computer.