Windows 2025 V2 | SMTP Relay

The Flying Bollox 5 Reputation points
2025-02-24T12:53:07.8066667+00:00

Is there any particular valid reason as to why my Windows 2025 V2 Server VM constantly fails to send an email via SMTP relay despite having my credentials from several third party SMTP providers set up correctly?

I am aware that this server not longer had SMTP built-in.

I am sick to the back teeth of seeing the same error message over and over again.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,051 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anusree Nashetty 4,710 Reputation points Microsoft External Staff Moderator
    2025-02-25T00:04:17.48+00:00

    Hi The Flying Bollox,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Check the SMTP server configuration: check the SMTP server address, port, and encryption method (TLS/SSL) required by your provider. Common ports are 25, 465 (SSL), or 587 (TLS).

    See that your VM's firewall or network security group allows outbound traffic on the SMTP port (e.g., 25, 465, or 587). Check if any antivirus or security software on the VM is blocking SMTP traffic.

    Check if your DNS configuration is correct, if you are sending emails from a custom domain. If you're using a third-party SMTP relay service, ensure that the service is active and that your account is properly configured.

    Could you please provide the error message you are seeing, which can provide clues about the root cause.

    If you have any further queries, do let us know. If the information is helpful, please click Upvote to let us know.

    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.