when sending an e-mail from our website (PHP Scripts) via SMTP using the below function is:
"Mailer Error: SMTP Error: the following SMTP Error: Data not accepted. receiver e-mail"
function send_email($to, $subject, $message, $from, $name)
     $mail = new PHPMailer();
     $mail->IsSMTP();  // send via SMTP
     $mail->Host     = "localHost"; // SMTP servers
     $mail->SMTPAuth = false;     // turn off SMTP authentication , no username and password 
     $mail->From     = $from; 
     $mail->FromName = $name;
     $mail->AddAddress($to);// optional name
     $mail->WordWrap = 50;  // set word wrap
     $mail->IsHTML(true);   // send as HTML
     $mail->Subject  =  $subject;
     $mail->Body     =  $message;
     $mail->AltBody     = html_entity_decode($$message); 
           echo "Mailer Error: " . $mail->ErrorInfo;
              echo "mail sent";

Please any help, it is very important for us to be solved

Thank you,
Best Regards,

Discover the new Windows Vista Learn more!

Explore the seven wonders of the world Learn more!