From 794f7cf7fe9d3fe2ab54434c9c96392a4c1aaca0 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 7 Mar 2005 06:48:57 +0000 Subject: [PATCH] Fix for http://mosquito.wordpress.org/view.php?id=980 git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82 --- 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"; }