The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php mail problem

Discussion in 'Database Discussions' started by ingenialtda.com, Dec 12, 2006.

  1. ingenialtda.com

    Joined:
    Dec 26, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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:
    7
    Trophy Points:
    0
Loading...

Share This Page