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.

Mail problems

Discussion in 'E-mail Discussions' started by AA2004, Feb 15, 2008.

  1. AA2004

    AA2004 Member

    Joined:
    Nov 26, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    the following script should be working while its not

    PHP:
    <?php
    $to      
    'myemail@example.com';
    $subject 'the subject';
    $message 'hello';
    $headers 'From: admin@website.com' "\r\n" .
        
    'Reply-To: admin@website.com';

    mail($to$subject$message$headers);
    ?>
    any ideas ?
     
Loading...

Share This Page