Not receiving notification emails from API Management

Øyvind Taugl 21 Reputation points
2022-09-20T09:10:59.81+00:00

When creating new users, or resetting a password, no emails seems to be sent (at least no one receives them). We have tried several different receivers in different domains, but none are getting the emails. In Azure Portal, the event just says email has been sent. Is there any way to either change to our own email sender, or check where the emails stop?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,074 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 26,546 Reputation points
    2022-09-20T16:05:09.397+00:00

    Hi @Øyvind Taugl Thanks for reaching out. I am unable to reproduce the same at my end. I don't see any problem with service sending emails. Please do verify your junk mail some email providers (such as Gmail) block or send emails generated by Developer Portal to Junk mail.

    Most likely APIM is successfully sending emails, but your email system is blocking them. One way to verify this is to create a user with a Microsoft account (Outlook/Hotmail) and see if email arrives in Inbox. If it does, that confirms that your email system is most likely blocking emails.

    Is your APIM instance is public or deployed inside a VNET? If it is deployed inside a VNET please verify the Network connectivity status

    243102-image.png

    If SMTP communication is blocked, the auto generated emails for developer portal won't work. For instance, when a new user signs up to the developer portal, they get an email with a link to activate their account. Similarly, if a developer portal user has to reset their password, they won't be able to do so since APIM won't be able to send emails.

    you need to allow the following ports 25,587,25028 to Connect to SMTP Relay for sending e-mails - https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-configure-notifications#-configure-notification-templates

    let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.