Sending email with attachments
Sending email with attachments
- Subject: Sending email with attachments
- From: Alberto Ricci <email@hidden>
- Date: Thu, 4 Sep 2003 14:01:13 +0200
Hello,
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?
Thank you very much!
Alberto.
_______________________________________________
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.