After updating to 18.1 on our on-premise installation email alerts have stopped, i can see the alerts under system alerts but those alerts are not being delivered this is also impacting new users not getting email notification. I have checked custom.properties and password.properties for any changes but all settings are as they were before. Under mail-listener i see this "[ServerService Thread Pool -- 65] INFO com.appiancorp.ra.emailpoller.EmailPollerRa - Email listener not configured (mailServer); will not be activated."
When i looked into unattended-request-poller i found the below error message,
Caused by: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@abc.com>: Sender address rejected: Access denied at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1873) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1120) at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:329) at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:133) at com.appiancorp.ap2.mail.Mail.sendMailWithAttachment(Mail.java:200) at com.appiancorp.ap2.mail.Mail.sendMail(Mail.java:162) at com.appiancorp.process.engine.AbstractMailRequest.sendEmail(AbstractMailRequest.java:272) ... 66 moreCaused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <user@abc.com>: Sender address rejected: Access denied
The credentials are correct i tested by logging in the mailbox and sending test email.
Discussion posts and replies are publicly visible
In custom.properties files, make sure the following details are entered. Various Email Server Provider have different authentication method so kindly be specific to your email server settings. This is for reference: conf.mailhandler.ntf_sndr_addr=admin@XXXX.com conf.mailhandler.email.domain=XXXX.com conf.mailhandler.mail.smtp.host=smtpout.XXXX:<PORTNUMBER> conf.mailhandler.mail.smtp.auth=true conf.mailhandler.mail.user=admin@XXXX.com conf.mailhandler.mail.transport.protocol=smtp conf.mailhandler.mail.smtp.starttls.enable=false conf.mailhandler.mail.smtp.starttls.required=false And also in password.properties file: conf.password.SMTP=XXXXXX This should probably work. I had to play around with these two in order to get the mails working. conf.mailhandler.mail.smtp.starttls.enable=false conf.mailhandler.mail.smtp.starttls.required=false Change them according to your mail server settings