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 problems

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

  1. AA2004

    AA2004 Member

    Joined:
    Nov 26, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    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

  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