[thelist] php mail() function

jan guichelaar [artmiks] jan at artmiks.nl
Mon Feb 23 08:19:01 CST 2004

Hi All

I've used the php mail() function a dozen times, without any problems.
Now i want to use it at another server/host, but i can't get it to work.

I use this script:

if (!mail("jan at artmiks.nl", "test subject", "testline")) {
 echo 'mail failed';
} else {
 echo 'mail send';

It returns 'mail send' , but i don't get anything in my mailbox :-((
The only difference i found between the other servers i worked on an this
one is
in the phpinfo() at the sendmail_path.

Normally it says :
 sendmail_path = /usr/sbin/sendmail -t -i

But now it says:
 sendmail_path = /usr/sbin/sendmail -t -i -f
webmaster at hostname.com -Fwww.hostname.com

Anybody now if this is the problem and how i solve this, or can anyone point
me in the right direction for a solution?


jan at artmiks.nl

Artmiks [image builders]
recent projects

More information about the thelist mailing list