I've successfully used Scripting Bridge to pass plain text and attachments to Mail for sending, as part of an internal (non public) app.

I'd like if possible to send mail as rich text. I have the message as an NSAttributedString, and can easily get this as all sorts of formats, such as RTF. However, the Scripting Bridge works with Applescript's 'text' type (or 'mailText' in this case) which is completely different - it's just a tree of paragraphs and attribute runs.

Before I embark on a very long-winded conversion to this form, has anyone already done it, or knows of a quicker way?

I'm surprised if there's no support for this built-in somewhere.

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to