[wp-trac] Re: [WordPress Trac] #3658: Sending mail with UTF characters in Subject

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 30 19:59:47 GMT 2007


#3658: Sending mail with UTF characters in Subject
-----------------------------------------+----------------------------------
 Reporter:  warf                         |        Owner:  anonymous
     Type:  defect                       |       Status:  new      
 Priority:  low                          |    Milestone:  2.3      
Component:  Administration               |      Version:  2.1      
 Severity:  normal                       |   Resolution:           
 Keywords:  wp_mail mail header umlauts  |  
-----------------------------------------+----------------------------------
Changes (by morty):

  * keywords:  => wp_mail mail header umlauts

Comment:

 This is a _very_ bad solution. In my plugin I solved this via checking the
 Subject:


 {{{
 mb_check_encoding($subject, "ASCII")
 }}}

 in case this fails I use the encode-function from the first post at
 http://de2.php.net/manual/de/function.mail.php

 If someone thinks this makes sense, I can write a patch. Just leave me a
 note.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3658#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list