Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    233

    php mail function problem

    Hi,
    I am having one problem with php after i upgraded it to version 4.3.10. Zend is also updated but now mail function mail() of php is not working .....

    Anyone help me fixing this issue ????
    Cloud Hosting
    ~ Shared Cpanel Hosting, Cpanel Reseller, Business Cloud Hosting, SSD Cpanel Reseller Hosting ~

  2. #2
    Join Date
    Sep 2004
    Location
    Flint, Michigan
    Posts
    5,766
    What do you mean by it is not working? Have you tried a simple script to make sure it is the mail function?

    ie.

    <?php
    $to = 'nobody@example.com';
    $subject = 'the subject';
    $message = 'hello';
    $headers = 'From: webmaster@example.com' . "\r\n" .
    'Reply-To: webmaster@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

    mail($to, $subject, $message, $headers);
    ?>

    What shows up in your apache logs after running a script like that?
    Mike from Zoodia.com
    Professional web design and development services.
    In need of a fresh hosting design? See what premade designs we have in stock!
    Web design tips, tricks, and more at MichaelPruitt.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •