where to place -f switch in mail()
-
just upgraded to 2.2; every time i upgrade, i have to add the “-f [email protected]” 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"; }
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘where to place -f switch in mail()’ is closed to new replies.