there’s an extra new line getting put into the headers; email headers cannot have blank lines. Thus, your Eudora (and mine) don’t see the From: line as being a From: line. I reported this earlier, but I’ve not been able to figure out what in the email function is doing this.
Anonymous
Has anyone solved this problem? I am getting slightly annoyed at this…
try this, if you dare! 🙂
I make this change in:
root->wp-include-> function.php – find this function wp_notify_postauthor(..
change the original:
$message_headers = "MIME-Version: 1.0\r\n"
. "$from\r\n"
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
whit this (delete “mime” section)
$message_headers = "$from\r\n"
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
I’m sorry for bringing up an old topic. I’m new here and not sure whether this is desirable or not.
First of all, great software! I practically fell in love with WordPress since it suits my needs perfectly. 🙂
Anyway, this problem, mentioned by xrlq, still exists in v1.2 and my solution is kind of similar to that of unclePino’s.
Open wp-includes/functions.php
.
Replace the original lines 999-1001:
$message_headers = "MIME-Version: 1.0\r\n"
. "$from\r\n"
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
with:
$message_headers = "MIME-Version: 1.0\n"
. "$from\n"
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
As you can see, I deleted the “\r” in all three lines. After that, the “From:” field is displayed correctly and the defined charset is actually used.
You can make a similar adjustment in the lines 1039-1041, if you use comment approval.