re: NSMailDelivery problems
re: NSMailDelivery problems
- Subject: re: NSMailDelivery problems
- From: email@hidden (Jody Fairchild)
- Date: Sun, 17 Feb 2002 21:43:07 +0900
in vol 2, #203, steve wrote:
>
Message: 7
>
Date: Sat, 16 Feb 2002 18:05:06 -0800
>
Subject: NSMailDelivery problems
>
From: Steve Gehrman <email@hidden>
>
>
I'm trying to use the mail delivery protocol to send emails. It
>
works great for english, but I can't seem to set the encoding right
>
for japanese.
>
>
I send c7c*c"c+c
>
c3cc< and receive C VC C$C AC C#C iC C,C oC[
first of all, and somewhat unrelated, you can see what happened even
to the "I send" part above by the time it made it to my mailbox via
the digest ... i don't know what mail client you used to send this,
but you might want to check your settings, because it seems that
something is wrong somewhere. i don't think there's anything wrong
with the way that the list processes one's mail, because i've sent
mail to the list with embedded japanese characters, and when i get it
back via the digest, it looks fine (vol 2, #68, msg 12) ...
>
Help! Here's my code snippet. I'm sure there must be a way of
>
specifying the content-type, but everything I have tried has failed.
>
>
[deletia]
>
>
[messageHeaders setObject:@"charset=ISO-2022-JP" forKey:@"Content-Type"];
i'm not familiar with NSMailDelivery, but it does look like your
content-type header is broken. it should look something like this:
Content-Type: text/plain; charset="ISO-2022-JP"
note also that if you want to have japanese characters in the message
header, e.g., subject, とか, it's a little different. you should check
out rfc 2047 in that case ...
-jf
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.