@Kaja, Siva Kesava Rao (Contractor) - Admin Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
Based on the shared information, I understand that you are looking for an email service which can communicate using SMTP protocol.
- If my understanding is correct if you want to use the SMTP services in VM's or App service which are deployed in Standard Enterprise Agreement or Microsoft Customer Agreement subscriptions, then outbound connection over the port 25 is not blocked.
- But is recommended to use TCP port 587 for send the emails refer to this recommended method of sending an email here.
- As mentioned in the documentation, for Enterprise Dev/Test subscriptions, port 25 is blocked by default.
Refer to this documentation for more information about outbound SMTP connectivity problems in Azure.
You can also use Azure Communication email service SMTP as a service which user SMTP protocol to send the email. Refer to these documentations for more information about.
I hope the answer helps. Please let me know if you have any further queries.
Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.