2010/12/2 Michael Crowl <octo...@serv.net>: > > Possible solutions? I'm a little frazzled and a little undereducated here.
Use the under-appreciated fifth paramter in mail() to pass the -f flag to sendmail, like so: <?php $to = 'danbr...@php.net'; $subject = 'This is an emample for a php-general request!'; $body = 'This is the body of the email.'; $headers = "From: daniel.br...@parasane.net\r\n"; $headers .= "X-Mailer: PHP/".phpversion()."\r\n"; $sendmail_flag = '-fdaniel.br...@parasane.net'; // Note the lack of space between the flag and variable mail($to,$subject,$body,$headers,$sendmail_flag); ?> -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php