Private Cloud 4.16.X: Edge UI not sending emails - Troubleshooting tips

Problem:

You have set up Edge private cloud 4.16.X including SMTP but when adding a user to an org, or when an existing Edge user tries to reset their password no email is being sent.

Troubleshooting steps:

The first thing to do is to check the edge-ui.log in /opt/apigee/var/log/edge-ui

If the edge-ui had an issue while sending the email, there should be an error message in that log.

If there are no errors, it is likely that the email was sent by Edge UI but got stuck somewhere along the way or ended up in the SPAM folder of the recipient.

Some possible issues, and ways to resolve them:

If you see an error, check the type of error. The error could indicate an issue with the SMTP server that is configured. For example the following error indicates that the SMTP configuration prevents sending traffic from an IP that does not have a DNS entry:

com.sun.mail.smtp.SMTPAddressFailedException: 550 <email> Relaying denied. IP name lookup failed

Other issues may be related to how the SMTP server was configured when Edge was installed. For example you may have configured SSL to be used but your SMTP server may not support this, in which case you should follow the instructions in the doc to change the configuration.apigee

In the third category fall issues where the SMTP server may reject sending an email due to a configuration issue:

For example you may see an error like:

Caused by: com.sun.mail.smtp.SMTPSendFailedException: 554 Message rejected: Email address is not verified

if the sender address that you have configured is not accepted by the SMTP server. In this case, you may need to make a change at your SMTP server or follow the instructions for customizing the email templates.

Version history
Last update:
‎12-13-2016 11:20 PM
Updated by: