Hi all.
I have a problem sending email using the mail() function.
I am using PHP 4.3.0 with Apache 1.3.26 on a Linux system.
(I just upgraded from PHP 4.2.1 in the hope of a fix)
I set up a one line php script as a test as follows:
mail('tboon@espace.hopto.org', 'Test', 'Test\n');
Sendmail shows no activity, no mail sent, however my logs show the following entry.
Jan 28 00:20:48 metabelis sendmail[4020]: h0RDKmXY004020: from=nobody, size=49, class=0, nrcpts=1, relay=nobody@localhost
Mail PHP info is as follows:
Configure Command - './configure' '--with-mysql' '--with-apxs=/usr/httpd/bin/apxs'
sendmail_from - mawdryn@espace.hopto.org
sendmail_path - /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP - espace.hopto.org
smtp_port - 25
Any help appreciated.