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 ingenialtda.com, Dec 12, 2006.

  1. ingenialtda.com

    Joined:
    Dec 26, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Bolivia - Santa Cruz
    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. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
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