Greetings! I have a Send Email action that uses an SMTP server. No other flags - just the SMTP server and port. When I send to an internal email address using this action (i.e. one within our company domain), it works just fine. If I try to send to an external address, I get an “unable to relay” error. Normally, I would think that this is an issue with the SMTP server itself, but I have been working with our IT department on this, and it IS possible to send to an external email address from the same box, using the same SMTP server, if we are not using Automise (we used Windows Powershell for the test). Is there an internal/hidden setting in the Send Email action that could be blocking sending to external emails?
The action has no idea if an address is external or internal. This will most likely be an authentication issue. Turn on logging of the data and contact support with the output and we’ll take a look. Also, what mail server type is it. Also show us the exact settings you have on the action so we can try to set up the same scenario.
Thank you for the response! The settings are very simple. They are for an internal SMTP server and port 25, that is it. No authentication or anything. What specific logging would you like me to turn on?
I don’t see any options to Log Sent Data, Log Received Data or Log SSL Negotiation on the Send Email action. Where do I find that? Under Runtime, there is a Log Action Properties checkbox, but that is it. None of the other tabs on the action have any logging. I am using 5.0.0.800 - do I need to upgrade to a newer version? On the Sender tab, I have the FROM email address, the FROM name, and Normal selected instead of Individual.
EDIT: I see that the SMTP logging was introduced in a later version, so it seems that I need to download the latest. I will do that.
My guess is you need to authenticate with the mail server. It’s very unlikely (and not advisable) to allow unauthenticated users to send emails.
If you are able to send using powershell Send-MailMessage then it is probably using the current user credentials via NTLM authentication, which isn’t supported by Automise.
You may need to check with your mail server (exchange?) admin to see which auth types are enabled on the server.