Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail delivery failed: returning message to sender

Discussion in 'E-mail Discussion' started by robintn, Sep 5, 2016.

  1. robintn

    robintn Registered

    Joined:
    Sep 5, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Qatar
    cPanel Access Level:
    Root Administrator
    host xxx.xxx.xx.secureserver.net [198.71.xxx.x]
    Code:
       SMTP error from remote mail server after end of data:
        552 5.2.0 gr3CbtizhXQRF :: CPANEL :: Message rejected for spam or virus content ::
        Please include this entire message when contacting support ::
        v=2.1 cv=askScXtV c=1 sm=1 tr=0 p=cZFLAVYsfB4f3Jvt:18 a=e2hcLR9WdS+KEkWekK2eSw==:117 a=70kTBzG/y+9tdlMT+QsL2g==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=GW1xBdLrtEIA:10 a=DAwyPP_o2Byb1YXLmDAA:9 a=k08hSB8LAAAA:8 a=z7MYaEs2AAAA:8 a=3j4BkbkPAAAA:8 a=JqEG_dyiAAAA:8 a=jU4qhlNgAAAA:8 a=91MWERthAAAA:20 a=Rc3aA-WUJy4ufvtjRJ0A:9 a=btU_qwEgpSH6Q6lj:21 a=6jxIgs1sbSrWl8Rz:21 a=CjuIK1q_8ugA:10 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=5p030RyQYsuuVPdPSs4A:9 a=fMXd__hgaJD0k7PC:21 a=uCTjhiFwG3KnCHKw:21 a=eKUZRJ_itgmRuGSb:21 a=gKO2Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10 a=_bX9A_C59KHHUZGYnt0A:9 a=d_jdL8GTmNohDWrc:18 a=HXjIzolwW10A:10 a=Y70iFrjPV4BPx46Uy10A:9 a=1Czm7wpWUSwUK4aG0E4A:9 a=kO9uRzbR-9Tvx2Q3UgIA:9 a=RDfw7GcniUVF7Osu:18 a=vASJzW_8Le0fsx-r7zEA:9 a=jcF
    
     
    #1 robintn, Sep 5, 2016
    Last edited by a moderator: Sep 5, 2016
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,468
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Whats your question?

    Error states: "Message rejected for spam or virus content"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. robintn

    robintn Registered

    Joined:
    Sep 5, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Qatar
    cPanel Access Level:
    Root Administrator
    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.
     
  4. joshua mahlum

    joshua mahlum Registered

    Joined:
    Sep 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago
    cPanel Access Level:
    Website Owner
    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:

    Code:
    <?php
    if(isset($_POST['submit'])){
      $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???
     
    #4 joshua mahlum, Sep 6, 2016
    Last edited by a moderator: Sep 6, 2016
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice