How to raise a request to Unblock Port 25 for Email Sending if I am on Free Trial subscription

Aathira 0 Reputation points
2024-12-31T10:18:01.0566667+00:00

Dear Azure Support/Community,

I am hosting a WordPress website on Azure, and after migrating my site to Azure, I have encountered an issue with sending emails using the PHP mail() function. The issue I think is due to Azure's default restriction on outbound traffic through port 25.

I use the native PHP mail() function for transactional emails without any third-party SMTP services or plugins. The emails are critical to the functionality of the application, and I am unable to send them due to this restriction.

Here are some more details

Use Case: Sending legitimate transactional emails.

Subscription Type: Free Trial

PHP Configuration: The mail() function is correctly configured and uses sendmail.

Alternative Ports: the existing setup relies on port 25 for direct mail transfer.

Reason for Request: Unblocking port 25 is essential for my WordPress application to send transactional emails without relying on third-party email services.

Since I am on Free trial I can create any support request to open port 25. Is there any alternate way to open the port.

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

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 116.3K Reputation points MVP
    2024-12-31T10:39:45.5433333+00:00

    Hi @Aathira ,

    as far as I know it's possible to open port 25 for Enterprise Agreement or Microsoft Customer Agreement for enterprise (MCA-E) subscriptions only.

    For all other types of subscriptions it's not possible to open port 25 on request.

    Source: All Other Subscription Types

    The recommendation/workaround is to use an authenticated SMTP relay services: Recommended method of sending email


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

    Regards

    Andreas Baumgarten

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.