Announcement

Collapse
No announcement yet.

Unable to send mails via PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to send mails via PHP

    Hi,

    I am confused. I am using the following script to send out email by PHP.
    It shows 'Success' but NO Email. What am I doing wrong ? What other way is there to send out email by a script (Any language supported will do)

    Code - mail.php
    ---------------
    <?
    $result = mail("s.rana@spymac.com", "the subject", "Line1\r\nLine2",
    "From: rana@qmsys.info\r\n"
    ."Reply-To: s.rana@spymac.com\r\n"
    ."X-Mailer: PHP/" . phpversion());
    if ($result == TRUE)
    echo "Success";
    else
    echo "Failed";
    ?>

    -End of Code-

    Sanjeev Rana

  • #2
    please visit the below thread to learn more about sending out email.

    Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    Working...
    X