Users not receiving emails from Azure API Management Service

Alejandro Gomez Rivera 21 Reputation points
2022-09-20T11:15:41.063+00:00

Hi,

Emails are not being sent to users by our API Management Service (e.g. password reset, new user verification, etc). We can't find a way to troubleshoot this on our end. We know this started recently.

We're also trying to find the logs of emails sent/not sent in the activities log or somewhere else in the Azure portal. Anyone knows where can I find this?

Thanks in advance for your help!

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

Accepted answer
  1. JananiRamesh-MSFT 26,631 Reputation points
    2022-09-20T16:11:29.19+00:00

    Hi @Alejandro Gomez Rivera Thanks for reaching out. I am unable to reproduce the same at my end. I don't see any problem with my 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.


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.