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
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.