git-svn-id: http://svn.automattic.com/wordpress/trunk@2415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-03-07 06:48:57 +00:00
parent 563e4e9ff9
commit 5d148a8d1b
1 changed files with 1 additions and 0 deletions

View File

@ -1636,6 +1636,7 @@ function htmlentities2($myHTML) {
function wp_mail($to, $subject, $message, $headers = '') { function wp_mail($to, $subject, $message, $headers = '') {
if( $headers == '' ) { if( $headers == '' ) {
$headers = "MIME-Version: 1.0\n" . $headers = "MIME-Version: 1.0\n" .
"From: " . get_settings('admin_email') . "\n" .
"Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n"; "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
} }