Re: NSMailDelivery & Apple Help
Re: NSMailDelivery & Apple Help
- Subject: Re: NSMailDelivery & Apple Help
- From: Jim Puls <email@hidden>
- Date: Fri, 1 Dec 2006 11:32:12 -0800
On Dec 1, 2006, at 8:03 AM, z wrote:
I've ony Mail installed on my Mac and the mailto: scheme works fine.
However, need to send text from the textView window to Mail with
attributes (e.g. color), so I used - deliverMessage: theMessage
headers: headerDict format: NSMIMEMailFormat protocol: scheme which
compiles fine, but doesn't launch Mail.
I've the Msg.framework in my appl. and .h file
I'd appreciate suggestions.
NSMailDelivery doesn't launch Mail, it directly sends the message. I
suppose the docs are a bit misleading on this, but the only API-based
way to launch Mail with a compose window is by opening a mailto: URL
or by dragging a file to its dock tile.
I believe the best solution to your problem (if you actually want to
put styled text in a Mail compose window programmatically) is to use
AppleScript.
-> jp
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden