cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

web site contact us doesnot work

hi im using php mailer function for send emial. like followings

 

    $mail->Host       = "email.mydomain.com"; // sets the SMTP server
    $mail->Port       = 587;                    // set the SMTP port for the GMAIL server

    $mail->Username   = "info@mydomain.com"; // SMTP account username
    $mail->Password   = "xxxxxxx";        // SMTP account password
    $mail->AddReplyTo("info@mydomain","mytext");
    $mail->SetFrom('info@mydomain',"eeeee");

    $mail->AddAddress("ddddddd@gmail.com");

    $mail->AddAddress("disna.kk@mydomain");

 

but its not working.only mails recieved for gmail.im serch from google they saild add records to dns  like ms 1234556
but im trying sevaral time for find my 365 ms id ,i cannot find,support chat also disable,how can i fix this issue.callling to suport service is so much expensive because im from another country.please help me