New topic: 

Encoding of multipart e-mail messages

<http://forums.realsoftware.com/viewtopic.php?t=46412>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        tobiaseichner          Post subject: Encoding of multipart 
e-mail messagesPosted: Wed Jan 02, 2013 7:03 am                         
Joined: Sat Jan 29, 2011 6:24 pm
Posts: 14
Location: Germany, Europe                Hello !

I'm facing a problem with the EMailMessage class. Trying to send a plain text 
OR HTML message works great, even with custom headers for content type and 
content transfer encoding, e.g. I'm using this for plain text mails:

  Mail.Headers.AppendHeader("Content-Type","text/plain; charset=UTF-8")
  Mail.Headers.AppendHeader("Content-Transfer-Encoding","base64")

and no additional headers when sending a HTML mail.

However when trying to send a message that contains both, EMailMessage.TextBody 
and EMailMessage.HTMLBody parts, any additional headers I add myself to specify 
the encoding fail to work.

I see the main problem that it is impossible for me to adjust the content 
transfer encoding per message part (so I would use no special settings for HTML 
but above ones for plain text). Whatever I tried, my headers are overwritten by 
RB and replaced with standard ones working only with ASCII charset in a 
reliable way (Apple Mail works, but Thunderbird shows strange characters for 
German umlauts and other Unicode chars).

What have I missed ? Is there a solution to my problem ? Any notes and comments 
are highly appreciated (but please, no solutions involving third party plugins 
or classes, if possible).

Bye,
Tobias.

Happy New Year 2013 !    
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to