Re: sending mail
Re: sending mail
- Subject: Re: sending mail
- From: Tim Hewett <email@hidden>
- Date: Tue, 16 Dec 2003 22:00:59 +0000
Check out the NSMailDelivery class (seems to be undocumented).
You will have to craft your own composer window but that should
be relatively simple. Then this class will send the mail for you.
Regards,
Tim.
On 16 Dec 2003, at 19:56, email@hidden wrote:
I'd like to allow the user of my app to send a block of text to
someone. Ideally, the Mail app would automatically be launched
and they'd find a normal "New Message" window with an empty To
line and a block of text already entered for them.
I thought that MacOS Services would be the answer. It's rather
simple to make a pasteboard and hand that off to the Mail service
for delivery. However, this seems to function in a really odd
way. The Mail app does not open a "New Message" window. Instead,
it creates a letter (after waiting 15-20 seconds) in the Drafts
folder that the user has to notice and then click to edit. This
hardly seems reasonable. Your average user is going to to wonder
why Mail was launched but no message appears.
Am I doing something wrong here? Is this really the expected
behavior? Is there another way to get the effect I want? Any
tips would be appreciated...
Devon
_______________________________________________
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.