• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: email in Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email in Unicode


  • Subject: Re: email in Unicode
  • From: Ralph Scheuer <email@hidden>
  • Date: Wed, 3 Mar 2004 17:01:10 +0100

Hi,

hello,
i want to send an email as Unicode.
now i use this code to send a normal string
WOMailDelivery mailAgent = WOMailDelivery.sharedInstance();

mailAgent.composePlainTextEmail

( from, toList, null, subject, messageBody, true );

Per definition, this method will always give you an ASCII String. Moreover, the sendEmail method does not give you control over the email headers (you need to declare those correctly in order to get your Unicode String interpreted correctly.


You might want to try JavaMail (check out Project Wonder's implementation (ERJavaMail) to get an idea how that could look like) or look at WOCode.com for starters - you will find some examples there.

This will give you full control of headers and you will be able to control the encoding, send attachments, correct cc addresses and bcc.

Also, if you continue using WOMailDelivery, prepare to have incorrect mail addresses (without "< >" - some mail servers won't accept that.

how can i make the Subject and MessageBody be sent as a Unicode Email?

see above. _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


References: 
 >Re: WOCookie - replacing/removing? (From: Benjamin Miller <email@hidden>)
 >email in Unicode (From: "WebObjects EMail" <email@hidden>)

  • Prev by Date: Re: email in Unicode
  • Next by Date: RE:EOModel/Database access fails once deployed
  • Previous by thread: Re: NSLog.Log4JLogger
  • Next by thread: Re: WOCookie - replacing/removing?
  • Index(es):
    • Date
    • Thread