Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Doing kanji and stuff in email headers
- Date: Mon, 30 Jul 2012 22:43:51 +0900
- From: Brian Chandler <brian@example.com>
- Subject: [tlug] Doing kanji and stuff in email headers
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0
I'm looking for help with email (calling the mail() function in php): meta-help would help too, along the lines of "This is where to ask that question..."I'm trying to clean up the confirmation emails I send to customers from my shop software, so that Chinese names (etc etc) get through properly. For the longest time I've just been sending utf8 text, which *my* mail reader shows correctly, but of course being against the rules (AIUI) some customers come back concerned that their addresses have been mangled.So I added a header: Content-type: text/plain; charset=UTF-8That should take care of the body, but then I get names in the to: header, which I need to escape. I found a recipe:Name in to header: '=?UTF-8?B?'.base64_encode($name).'?='But I'm concerned that if I do this where it isn't necessary, some "spam filter" will not like it; so I wondero What's the neatest way to decide if it's necessary? OR o Can I after all just use UTF-8 because it's ok nowadays? Grateful for any suggestions, hints, and things. Brian Chandler
- Follow-Ups:
- Re: [tlug] Doing kanji and stuff in email headers
- From: Godwin Stewart
- [tlug] Doing kanji and stuff in email headers
- From: Stephen J. Turnbull
- Re: [tlug] Doing kanji and stuff in email headers
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Linux geek for NZ visiting tokyo
- Next by Date: Re: [tlug] Doing kanji and stuff in email headers
- Previous by thread: Re: [tlug] Linux geek for NZ visiting tokyo
- Next by thread: Re: [tlug] Doing kanji and stuff in email headers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links