I am not receiving my domain emails

Suvarna 0 Reputation points
2024-02-26T12:24:02.1833333+00:00

Hi, I am not receiving emails with my domain after hosting website in azure app services. Please let me know what are the changes required to receive my emails.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dr. S. Gomathi 655 Reputation points MVP
    2024-02-26T14:14:11.12+00:00

    Hi Suvarna, To facilitate email sending from your web application hosted on Azure, it's essential to utilize a relay service. Azure mandates this practice for all its services, including Virtual Machines and Cloud Services, to avoid the risks associated with SPAM. Direct email dispatch is not permitted. Options for relay services include SendGrid, Microsoft 365, various other third-party services, or a relay server that's managed on-site. It's crucial to ensure that your application is configured to send emails through a relay service. For more detailed guidance, refer to Microsoft's documentation on https://learn.microsoft.com/en-us/azure/virtual-network/troubleshoot-outbound-smtp-connectivity If you're already employing a relay service but encountering issues, here are some troubleshooting steps you can take:

    1. Verify the operational status of the SMTP server by attempting to connect with it using a telnet client. A failed connection could point to server downtime or network issues.
    2. Double-check your web application’s SMTP settings. Ensure that the server address, port, and credentials are accurately aligned with the details provided by your SMTP service.
    3. Inspect any firewall rules or network security group settings that might be blocking outbound connections from your web app to the SMTP server. The rules should permit traffic through the necessary SMTP port.
    4. If you're leveraging a third-party SMTP service, confirm that it's properly set up and that your web application is authorized to use it. If the answer helped, or pointed you in the right direction, please click accept answer or please share more information to help you better.
    0 comments No comments

  2. SnehaAgrawal-MSFT 20,856 Reputation points
    2024-03-01T07:56:14.68+00:00

    @Suvarna Thanks for reaching here! As its suggested by Gomathi-

    To elaborate its We strongly advise utilizing authenticated SMTP relay services when sending emails from Azure App Service. These services, commonly connecting through TCP port 587 but flexible with other ports, play a crucial role in preserving IP and domain reputation.

    This, in turn, significantly reduces the likelihood of external domains rejecting your emails or categorizing them as spam. While SendGrid stands out as a popular SMTP relay service, numerous alternatives are available. Additionally, you may already have an authenticated SMTP relay service configured on your on-premises servers.

    It's essential to emphasize that leveraging these email delivery services remains unrestricted within Azure, irrespective of your subscription type. By adopting such services, you enhance the reliability and deliverability of your emails while mitigating potential issues associated with IP and domain reputation.

    Please let us know if further query or issue remains.