|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-07-29 10:19 UTC] hplagellat at sopragroup dot com
When I execute the following code, $ret_mail=mail($adresse_dest,$sujet,$message,$extra_header); The variable $ret_mail contains always the NULL value, even if the mail is really send. So the program cannot control any execution error or success. The sendmail version is 8.9.3. Configure command : ./configure --without-mysql --with-oracle=/oracle/ora817 --with-oci8=/oracle/ora817 --with-apache=/usr/local/apache_1.3.24 --enable-track-vars --enable-sigchild sendmail_path = sendmail -t -i Thanks for your help PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 20:00:01 2025 UTC |
Yep, I do. Couldn't reproduce with 4.2.0RC1/CLI, but will try current HEAD and STABLE. Full self-contained short script: <?php ini_set('sendmail_path', '/usr/sbin/sendmail -t -i'); $adresse_dest = 'msopacua@idg.nl'; $sujet = 'test'; $message='testmessage'; $extra_header='From: aix43 <aix@php.net>'; $ret_mail=mail($adresse_dest,$sujet,$message,$extra_header); print("***$ret_mail***\n"); ?> Please note that I use a full path. Does that help in your case?