Forum Discussion
MikeNewton
Sep 18, 2022Copper Contributor
Using SendGrid from App Service with a VNet
We have an App Service that sends emails through SendGrid (on smtp.sendgrid.net). Recently we needed to attach a VNet to the App Service and have discovered that when we do this, emails aren't being ...
- Sep 19, 2022
It turned out that Azure doesn't block port 25 from an App Service when it has no VNet attached. But as soon as you attach a VNet it blocks the port. The fix was to use an alternate port (like 587). After changing the port our app can again send emails.
MikeNewton
Sep 19, 2022Copper Contributor
It turned out that Azure doesn't block port 25 from an App Service when it has no VNet attached. But as soon as you attach a VNet it blocks the port. The fix was to use an alternate port (like 587). After changing the port our app can again send emails.