Email alarm notifications not working when report email is working

I’m trying to set up email alarm notifications after setting up some automatic reporting. The system is Ignition version 7.9.8. The SMTP profile I’ve set up works great for the reports, everything sends correctly. However when I try and send an alarm I get an error in the logs “Failed to process message due to a permanent exception with message Cannot submit message”, see full error message below. In addition to using my pre-configured SMTP profile I’ve also manually typed the SMTP profile again, to no avail. Does anyone know why this may not be working?

com.sun.mail.smtp.SMTPSendFailedException: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A005381, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:B11B0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:B61B0000, 1.44866:4E010000, 16.55847:6E0D0000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140FD7881600101043050000, 20.50032:140FD7888617000000000000, 0.35180:48050000, 255.23226:0A005881, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A005981, 0.35250:0A000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:46000000, 1.36674:32000000, 1.61250:00000000, 1.45378:4B000000, 1.44866:01000000, 16.55847:B2000000, 17.43559:0000000000030000000000000100000000000000, 20.52176:140FD788160070200A005E81, 20.50032:140FD788861710106B050000, 0.35180:0A005F81, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:75050000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:7A050000, 0.38698:00000000, 0.37692:01000000, 0.37948:00000000, 5.33852:00000000534D545000010480, 7.36354:01000000000001091A010480, 4.56248:DC040000, 7.40748:010000000000010B1A010480, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:7E5D2BEB3F69C145A186ACF753C89B2C31323346, 5.10786:0000000031352E32302E323236332E3032323A4D57485052313630314D42313136363A37303035613836322D633537362D343237362D393161372D3137396438616536656339330000000000, 7.51330:EF71137E0A3CD70800000000, 255.1750:AC050000, 255.31418:0A006B81, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=MWHPR1601MB1166.namprd16.prod.outlook.com]

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

at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1980)

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

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

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

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:687)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$2.run(EmailNotificationProfile.java:469)

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

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

For anyone else who may see this issue, I had this and it was because the notification block in the pipeline was using default@example.com as the sender - changing this stops the error.

1 Like

Thank you for posting this! I just had this same thing happen, and was testing from the gateway. never would have thought to check the pipeline config for that.