Re: How to Pop Up Mail Compose Window
Re: How to Pop Up Mail Compose Window
- Subject: Re: How to Pop Up Mail Compose Window
- From: Eric Peyton <email@hidden>
- Date: Sat, 29 Sep 2001 12:57:07 -0500
On Saturday, September 29, 2001, at 12:45 PM, Vince DeMarco wrote:
On Friday, September 28, 2001, at 07:51 pm, Henry McGilton wrote:
Hello All,
in the apps I am developing, I wish to have a Suggestions
capability. The way I envisage this working is that I would
somehow message the Mail app to pop up its Compose window,
and I would send it the contents to fill in the From:, To:,
and Subject: fields, such that the user can simply type in
the body of the message and then push Send.
Back in NextStep days, there was a kind of 'back door' way
of doing this via the NXApp speaker, but I don't see anything
analogous in the App Kit.
Any ideas would be appreciated.
make a url that has the info
mailto:email@hidden
the create a NSURL from it and ask workspace to openURL: I think this
will work, but i haven't tried it myself.
Yes, it works fine, and has the advantage of opening the URL in the user
defined preferred mail application.
Eric
vince
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev