From 5d148a8d1bcc4d2c26c6f4e06309a67147cce78e Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 7 Mar 2005 06:48:57 +0000 Subject: [PATCH] Fix for http://mosquito.wordpress.org/view.php?id=980 git-svn-id: http://svn.automattic.com/wordpress/trunk@2415 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 8eaa2c62ac..557426a275 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1636,6 +1636,7 @@ function htmlentities2($myHTML) { function wp_mail($to, $subject, $message, $headers = '') { if( $headers == '' ) { $headers = "MIME-Version: 1.0\n" . + "From: " . get_settings('admin_email') . "\n" . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n"; }