Skip to main content

Mail delivery failed: returning message to sender

Comments

4 comments

  • Infopro
    Whats your question? Error states: "Message rejected for spam or virus content"
    0
  • robintn
    I have noticed a few emails which behaves on a similar way. Ofcourse, I would like to know how to tackle the situation and how to bypass these important emails for our users.
    0
  • joshua mahlum
    I need urgent hello for email delivery ASAP!!! Here is the code, explain and analyze so i can make sure my client education center delivers emails quick. Here is the code example I was having trouble with:
    )){ $to = "user@gmail.com"; // this is your Email address $from = $_POST['email">; // this is the sender's Email address $first_name = $_POST['first_name">; $last_name = $_POST['last_name">; $subject = "Form submission"; $subject2 = "Copy of your form submission"; $message = $first_name . " " . $last_name . " wrote the following:" . "\n\n" . $_POST['message">; $message2 = "Here is a copy of your message " . $first_name . "\n\n" . $_POST['message">; $headers = "From:" . $from; $headers2 = "From:" . $to; mail($to,$subject,$message,$headers); mail($from,$subject2,$message2,$headers2); // sends a copy of the message to the sender echo "Your email was sent. Thank you. " . $first_name . " We will contact you shortly."; // You can also use header('Location: thank_you.php'); to redirect to another page. } ?>
    Any suggestions???
    0
  • cPanelMichael
    Hello, The following document is a good place to start: How to Keep your Email out of the Spam Folder - cPanel Knowledge Base - cPanel Documentation @joshua mahlum, could you let us know the specific error message when sending to a remote mail server with that script example? Thank you.
    0

Please sign in to leave a comment.