Azure VM | Sending SMTP emails from my Windows Server 2022 Datacenter Virtual Machine

James Barden 6 Reputation points

Right, I am getting absolutely fuming with this.

Why can I not send SMTP emails from my Microsoft Azure-hosted Windows Server 2022 Datacenter Virtual Machine? I have the correct login details from my SMTP provider with port 2525 but I still can't sent a bloody thing.

It is absolutely ridiculous. I have never had any problem sending SMTP emails from my previous machine, so it's definitely the new VM blocking something. I am sick to the back teeth or ripping my hair out, just because this service is deciding to behave like a an ill-disciplined child.

Tried with 445, 587, 25 also. Guess what, yep, no shocker there! Nothing bloody works and I'm just about to pick this computer up and throw it against the wall repeatedly.

God forbid should something in my life just be easy.


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,362 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 34,436 Reputation points Microsoft Employee

    @James Barden
    Sorry you are facing issues. Port 25 traffic is blocked by default. However, you are using different ports so sounds like that is not the issue here. What error message are you getting when it fails?

    0 comments No comments