Hi Team,
I am getting 5.7.1 Unable to relay error ,when sending email from SMTP Server.
lakshman
(Ganta lakshman)
September 20, 2021, 9:34am
2
@Shilpa_Sahu
Hope this thread help you resolve the issue.
Have you found a solution. I’m having the same issue.
MailKit.Net.Smtp.SmtpCommandException: 5.7.1 Unable to relay
at UiPath.Mail.Activities.SendMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecu…
Gokul001
(Gokul Balaji)
September 20, 2021, 9:37am
3
Hi @Shilpa_Sahu
You can change the relay configuration to “authenticated users” only
Follow the Below steps:
Open the Exchange System Manager;
Go in Administrative Groups → Administrative group name → Server → Server name → Protocols → SMTP;
Right click on Default SMTP Virtual Server → properties;
Access tab → Relay button;
Select “only the list below” and add your domain and\or IPs you do want to allow the relay.
And finally, check the “Allow all computers which successfully authenticate to relay, regardless of the list above” checkbox.
Refer to the link:
Solved: Exchange SMTP Error 550 5.7.1 Unable To Relay
Or Try Like this method
Is the domain name to which the remote user sends the e-mail in your “Accepted Domains” list?
Running this cmdlet will show you the domains for which your server will accept e-mail:
Get-AcceptedDomain
Regards
Gokul