| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2000-11-12 10:56 UTC] sniper@php.net
  [2000-11-14 15:33 UTC] alexsun123 at hotmail dot com
  [2000-11-21 16:09 UTC] alexsun123 at hotmail dot com
  [2000-11-22 06:51 UTC] sniper@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 10:00:02 2025 UTC | 
The mail function worked with php3 but when i upgraded to php4, it no longer worked. I did not change the php.ini at all. Regardless, the sendpath is /usr/sbin/sendmail -t -i. i also tried just /usr/sbin/sendmail -t but that didn't work either. The mail function returns 1 but does not send the e-mail. the mail function I use to test is: mail("alexsun123@hotmail.com", "Subject", "Line", "") everything else works fine.