Issue
Getting the error “relay access denied” when trying to send an email from an UNC with MailService installed.
Environment
R2 (all version), UNC, Enterprise Server
Cause
SMTP Server requires Authentication
Resolution
If the SMTP mail server requires authentication, the Niagara host's (UNC or Enterprise Server) must have the following line present in its system.properties file:
mail.smtp.auth=true
Add the above line if it’s missing from the host’s system.properties file. If the line is present but commented out, remove the “#” from the front of the line for the line to apply. The host must be rebooted for the change to its systems.properties file to apply.