AAI Email Alert is failing: com.sun.mail.smtp.SMTPSendFailedException: 550 5.0.0
search cancel

AAI Email Alert is failing: com.sun.mail.smtp.SMTPSendFailedException: 550 5.0.0

book

Article ID: 382121

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

The email alert of AAI is failing with the error message below in the log.

WARN  [EmailSender] Unable to send email alert: com.sun.mail.smtp.SMTPSendFailedException: 550 5.0.0 Only pre-authorized systems may access this ???
;
  nested exception is:
        com.sun.mail.smtp.SMTPSenderFailedException: 550 5.0.0 Only pre-authorized systems may access this ???

        at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2249)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1740)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1239)
        at javax.mail.Transport.send0(Transport.java:255)
        at javax.mail.Transport.send(Transport.java:124)
        at com.termalabs.server.EmailSender.sendPlainTextMail(EmailSender.java:239)
        at com.termalabs.server.alerting.AlertDistributorImpl.sendAlertEmail(AlertDistributorImpl.java:390)
        at com.termalabs.server.alerting.AlertDistributorImpl.sendJobStreamAlertEmail(AlertDistributorImpl.java:295)
        at com.termalabs.server.alerting.AlertDistributorImpl.sendEmailAlert(AlertDistributorImpl.java:273)
        at com.termalabs.server.alerting.AlertDistributorImpl.distributeSingleAlert(AlertDistributorImpl.java:193)
        at com.termalabs.server.alerting.AlertDistributorImpl.distributeAlerts(AlertDistributorImpl.java:148)
        at com.termalabs.server.alerting.AlertGenerator.generateAndProcessRunsForAlerts(AlertGenerator.java:290)
        at com.termalabs.server.alerting.AlertGenerator.generateAndProcessJobStreamRunAlerts(AlertGenerator.java:277)
        at com.termalabs.server.system.RunCycle.compute(RunCycle.java:597)
        at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
        at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
        at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:136)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)
Caused by: com.sun.mail.smtp.SMTPSenderFailedException: 550 5.0.0 Only pre-authorized systems may access this ???

 

Environment

Product: Automation Analytics & Intelligence v6.x

Cause

The sender is allowed by the SMTP server to send an email.

Resolution

Please make sure that the sender defined in the SMTP Server section is allowed to send an email.