azure with SMTP

nadir semil 1 Reputation point

Hi Guys,

Am using azure VM and I have outlook email i wanna use with it. I want to use the smtp details for my site' contact page form to post to email address. via phpmailer. Data doesnt post. error :

This page isn’t working is currently unable to handle this request.

Any help would be appreciated


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

2 answers

Sort by: Most helpful
  1. nadir semil 1 Reputation point

    Okay I got an update. The form actually post now but email not received. I have use my outlook email with as SMTP with phpmailer.
    Does anyone has a way around this?


    0 comments No comments

  2. Krish G 2,331 Reputation points

    Hello @nadir semil , there is restriction of outbound SMTP connection from VM. Please refer Troubleshoot outbound SMTP connectivity issues in Azure .

    If it helps, please consider accepting as answer which can help other community members with similar queries.