• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Open default email client
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open default email client


  • Subject: Open default email client
  • From: TACKEL <email@hidden>
  • Date: Mon, 26 Aug 2002 09:59:53 +0200

Hi all,

Do you know if there is any easy way to open the default email client to
compose a new message like the following code to open the default internet
browser?

- (void) openDefaultBrowser : (NSString *)url{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:url]];
[pool release];
}

Thanks,
Tackel.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Open default email client
      • From: Angela Brett <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Open default email client
  • Previous by thread: Re: Dragging from an OutlineView
  • Next by thread: Re: Open default email client
  • Index(es):
    • Date
    • Thread