[wp-trac] [WordPress Trac] #21095: Reset password link is in < RESET_URL > - Gmail does not show it.
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 28 12:27:53 UTC 2012
#21095: Reset password link is in < RESET_URL > - Gmail does not show it.
--------------------------+----------------------
Reporter: tommix | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Mail | Version: 3.4
Severity: normal | Resolution: invalid
Keywords: close |
--------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
> Well this helped for reset email but messed up my real HTML mails, now
it just plaint html source.
In that case, You'll need to only change the mimetype for the emails
you're sending, not the core ones, You can do that by something similar to
the following - which is how this filter was seemingly intended on being
used, on a per-email basis by adding and removing the filter.
{{{
....
add_filter( 'wp_mail_content_type','html_laiskai' );
wp_mail( my html messages );
remove_filter( 'wp_mail_content_type','html_laiskai' );
}}}
Closing as invalid since !WordPress was doing exactly as you were asking
(Note, you can still reply without re-opening the ticket if need be)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21095#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list