Unable to send an email at hotmail from CRM RRS feed

  • Question

  • We are unable send an email from CRM at hotmail. We use google app as email host. Our CRM developed by our own developer. We able send email at every domain like yahoo, AOL and other domain except hotmail account.

    We checked our PHPMailer script and also run google smtm but nothing is working. Please help me out of this issue.

    <title>PHPMailer - Mail() basic test</title>



    $mail             = new PHPMailer(); // defaults to using php "mail()"

    //$mail->CharSet = 'windows-1251';
    $body             = 'This is ....';


    //$mail->SetFrom('deep_m@outlook.com', 'Deep');
    //$mail->SetFrom('saikat_mytasker@hotmail.com', "Saikat Mallick");
    $address = "saikat@mytasker.com";
    //$mail->AddAddress('saikat_mytasker@hotmail.com', "Saikat Mallick");
    $mail->AddAddress('deep_m@outlook.com', 'Deep');

    $mail->AddAddress($address, "Saikat Mallick");

    $mail->Subject    = "Mytasker 123 ...";

    $mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test


    //$mail->AddAttachment("images/phpmailer.gif");      // attachment
    //$mail->AddAttachment("images/phpmailer_mini.gif"); // attachment

    if(!$mail->Send()) {
      echo "Mailer Error: " . $mail->ErrorInfo;
    } else {
      echo "Message sent!";



    Wednesday, October 14, 2015 8:50 AM

All replies

  • Hello,

    This forum is related to Dynamics CRM and not custom applications developed using PHP. I'm afraid that you would not get a proper answer here so I suggest you ask your question at the StackOverflow forums.

    Dynamics CRM MVP
    My blog

    Wednesday, October 14, 2015 9:11 AM