in my php.ini, I have this set sendmail_from = admin.intranet@xxxxxxxxxxxxxxx yet when I do this command :("dcastillo@xxxxxxxxxxxxxxx","TEST MAIL","TESTING MAIL"); I get this message Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Inetpub\wwwroot\intranet\test.php on line 4 -- Diana Castillo Tsanalytics S.A. Tel: 34 913 595 436 Fax: 34 913 595 439 Mov: 34 609 954 536 dcastillo@xxxxxxxxxxxxxxx www.tsanalytics.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php