Re: E-mail
Re: E-mail
- Subject: Re: E-mail
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 13 Aug 2001 13:29:20 +0200
On lundi, ao{t 13, 2001, at 07:24 AM, Angela Brett wrote:
Hi,
I'm very new to Cocoa programming, having created only one small and
slightly useful application using Objective-C, so forgive me if I ask a
lot of rather elementary questions. I can usually find what I want by
searching the documentation, but there is one thing I haven't been able
to find out about.
I would like my program to be able to compose an email in the user's
default email client (as specified in the internet preferences). I've
seen quite a few applications do that, so I'm presuming there's quite
an easy way to do it, but I can't find any direct reference to it in
the documentation. I guess it would have something to do with NSURL
and/or NSUserDefaults, but I'm not experienced enough yet to figure out
how to do it. Any help would be greatly appreciated.
[[NSWorkspace sharedWorkspace] openURL:[NSURL
URLWithString:@"
mailto:email@hidden"]];
Is it what you need ?
- Follow-Ups:
- Re: E-mail
- From: "John C. Randolph" <email@hidden>
References: | |
| >E-mail (From: Angela Brett <email@hidden>) |