Ticket #1532 (closed defect (bug): fixed)
wp_notify_postauthor() sends pingback/trackback e-mails from bad address
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.5.1.2 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit |
| Cc: |
Description
wp_notify_postauthor() sends pingback and trackback notification e-mails from wordpress@$_SERVERSERVER_NAME?
The problem is that on some hosts, $_SERVERSERVER_NAME? is in the form of www.domain.com instead of just domain.com
These wordpress@… e-mails are getting deleted somewhere along the line as obviously bogus.
We need to check for leading www. and strip it out.
Attachments
Change History
- Keywords bg|has-patch removed
This doesn't really fix the core problem though, what should we send system generated mails out as from:? In other parts of the code we use admin email.
markjaquith — 7 years ago
-
attachment
email_from_wordpress_at_domain.diff
added
Email sent from wordpress@domain (with "www." stripped)
comment:5
markjaquith — 7 years ago
- Keywords bg|has-patch bg|commit added; bg|2nd-opinion removed
- Owner changed from graeme to markjaquith
- Status changed from new to assigned
Final decision was that wordpress@domain is best, because admin email might be from off-domain and might be more likely to get flagged as spam at its destination.
- Status changed from assigned to closed
- Resolution set to fixed
