Possible Duplicate:
changing notification emails from WordPress <wordpress>@mydomain.net to something else
Why does my email address not appear in 'from'

I am told that when a subscriber receives my email post, my email does not appear in the 'FROM' area. What appears is 'Do Not Reply@wordpress

How can I get my email address to show?

Thanks.

link|improve this question
Please elaborate about how emails are sent - is that some plugin producing them? – Rarst Jan 23 at 12:24
feedback

closed as exact duplicate by Otto, Chris_O, Chip Bennett, kaiser, Brady Mar 2 at 9:23

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

Without seeing your actual code, I cannot point out what exactly is wrong. Either way, have a look at the code below and compare it to your own.

<?php
$to      = 'your-subscribed-user@domain.com*';
$subject = 'The Subject*';
$message = 'The user\'s message.*';
$headers = 'From: yoursite@domain.com' . "\r\n" .
   'Reply-To: webmaster@yourdot.com' . "\r\n";

mail(...);
?>

Now, before anything, please note the * symbols which represent dynamic variables. In other words, the $to, $subject (if available) and $message are variables whose content must be filled by the user when subscribing. The most relevant part is the $headers variable, which contains the From: and Reply-To: parameter. These will tell the mailing-system who to reply to, and essentially, who/where the email came from (in this case, from you).

Hope that helps!

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.