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!

php mail problem

Discussion in 'Database Discussion' started by JWG, Dec 12, 2006.

Thread Status:
Not open for further replies.
  1. JWG

    JWG Registered

    Joined:
    Dec 12, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    I have a mail problem with my server. I am sending mail with my database and using this script.

    $headers .= "Return-Path: info@ofertazos.net\n";
    $headers = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    $headers .= 'From: info@ofertazos.net' . "\r\n" .
    'Reply-To: info@ofertazos.net' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();
    mail($destinatario,$asunto,$cuerpo,$headers);
    $fbO0O02 = mysql_fetch_row($rbO0O02);
    echo '- '.$destinatario.'<br>';
    }
    echo "<b>Total mensajes: $k</b>";
    cierraenlace($mc);
    ?>

    However my server is sending as nobody@servername.com
    I want to prevent sending as nobody, what do I do wrong ??
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Please don't cross-post, especially using two different account names.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Thread Status:
Not open for further replies.

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