Unable to to send email on port 25 from Azure VM ( Using Azure Student Subs)

Vivek Kumar 0 Reputation points
2024-07-21T17:22:33.7766667+00:00

Unable to to send email on port 25 from Azure VM ( Using Azure Student Subs)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,993 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
360 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 111.3K Reputation points MVP
    2024-07-21T17:36:14.9166667+00:00

    Hi @Vivek Kumar ,

    sending emails on port 25 from an Azure VM is restricted (not possible) in Azure.

    The Azure platform blocks outbound SMTP connections on TCP port 25 for deployed VMs.

    We recommend you use authenticated SMTP relay services to send email from Azure VMs

    Please take a look here: Troubleshoot outbound SMTP connectivity problems in Azure


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments

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.