[wp-hackers] Address and name used in notification messages
if.website at gmail.com
Thu Jun 25 15:11:35 GMT 2009
On Thu, Jun 25, 2009 at 9:41 AM, Simon Blackbourn <piemanek at gmail.com> wrote:
> It seems to me that:
> 1. The From name should be the 'blogname' option, rather than "WordPress".
> 2. The From address should be the admin_email option, rather than
> wordpress at myblog.com.
> 3. The option name 'admin_email' is confusing, because it's actually the
> blog email address, not the admnistrator's (the administrator's email
> address is in their user profile). It would make more sense to have the
> option name called 'blog_email', then on the general options screen you'd
> have 'Blog title', 'Blog address' and 'Blog email'.
> 4. If some email-sending functions are currently in pluggable.php, then all
> of them should be there for consistency.
> There may be good arguments against some of these that I haven't thought of,
> I'm sure you'll let me know if there are!
There are a number of Trac tickets that have discussed this issue.
For example, see http://core.trac.wordpress.org/ticket/5007
Basically the problem is a catch-22: if you use admin_email, some
hosts will refuse to send the mail because the origin domain differs
from the sending domain.
And (apparently a much smaller number of) other hosts block
wordpress@* outgoing mail when that account doesn't exist.
There's no single answer that works for everyone.
More information about the wp-hackers