just upgraded to 2.2; every time i upgrade, i have to add the "-f username@domain.com" into the mail command.
i located the code for wp_mail in the pluggable.php file, but i can't figure out where to put the -f switch. can anyone help me out? TIA
here's the code:
if ( $headers == '' ) {
$headers = "MIME-Version: 1.0\n" .
"From: " . apply_filters('wp_mail_from', "wordpress@" . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME']))) . "\n" .
"Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
}