Re: Sending email with attachments
Re: Sending email with attachments
- Subject: Re: Sending email with attachments
- From: j o a r <email@hidden>
- Date: Thu, 4 Sep 2003 14:23:12 +0200
Use the list archives you lazy bum!
<
http://cocoa.mamasam.com/>
As an example you can search for a thread called "Programmatically
Filling In Body of E-Mail Message" and look at my second message.
j o a r
On torsdag, september 4, 2003, at 02:01 PM, Alberto Ricci wrote:
I am trying to send a file by email programmatically.
NSMailDelivery looked perfect for this purpose, but I think that it
only supports sending text, either plain text, RTF or html. But I need
to send a QuickTime movie.
NSMailDelivery requires an NSAttributedString, and if I initialize it
with a path to a movie file, it sets the string to the file's data as
UTF-8 encoded text. So it doesn't work.
What I'd need is being able to turn the NSMailDelivery message into a
multipart MIME message... or even if not multipart, the only part
should be the file attachment, not text.
So you know if this is possible through NSMailDelivery?
Or do you know of any other way I can do this, even through a
command-line tool installed by a standard Mac OS X installation?
_______________________________________________
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.