Ignition 8 Edge - Error Sending Email

We have an installation of Ignition Edge Version: 8.0.3 (b2019080717) and have some tags configured with alarm, As per my understanding Ingition Egde comes with a default Alarm email notification.

We have configured the SMTP profile using AWS SES correctly, however everytime an alarm is activated we get the following error message in the logs -

OneWayNotificationProfile	06Dec2019 02:06:32	Error sending notification email:

com.sun.mail.smtp.SMTPSendFailedException: 501 Invalid MAIL FROM address provided

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2202)

at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1693)

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1194)

at javax.mail.Transport.send0(Transport.java:254)

at javax.mail.Transport.send(Transport.java:124)

at com.inductiveautomation.ignition.alarming.notification.email.OneWayNotificationProfile$EmailTask.run(OneWayNotificationProfile.java:264)

at com.inductiveautomation.ignition.alarming.notification.email.OneWayNotificationProfile.lambda$new$0(OneWayNotificationProfile.java:73)

at com.inductiveautomation.ignition.common.util.ThrottlingAggregator.check(ThrottlingAggregator.java:94)

at com.inductiveautomation.ignition.common.util.ThrottlingAggregator$1.run(ThrottlingAggregator.java:113)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.base/java.util.concurrent.FutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 501 Invalid MAIL FROM address provided

at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1700)


Does anybody have encountered an issue like this?

Thanks.

I would suggest not, as code 501 is coming from AWS. Specifically, you must specify the "from" address that is authorized to send email via your AWS account.

1 Like