• 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
Re: How to make mailto: links clickable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make mailto: links clickable


  • Subject: Re: How to make mailto: links clickable
  • From: Andy Lee <email@hidden>
  • Date: Wed, 10 Apr 2002 00:44:10 -0400

At 8:51 PM -0500 4/9/02, deekpyro wrote:
In my app I have bunch of e-mail addresses and I would link them to work the
same way they do as the Mailto: command in HTML. Does anyone know how? (I
know how to do URL links, but now e-mails...)

Isn't "mailto:"; just another URL type? The following opens a Eudora window for me:

[[NSWorkspace sharedWorkspace]
openURL:[NSURL URLWithString:@"mailto:email@hidden";]];

I haven't been following the clickable-URL discussions closely, so I don't know if -openURL: ended up being your way of making Web links, but the above suggests that in principle at least, "mailto:"; is indeed a kind of URL.

--Andy
_______________________________________________
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.

References: 
 >How to make mailto: links clickable (From: deekpyro <email@hidden>)

  • Prev by Date: Re: why Obj-C
  • Next by Date: Re: UInt32 and ==
  • Previous by thread: How to make mailto: links clickable
  • Next by thread: Re: How to make mailto: links clickable
  • Index(es):
    • Date
    • Thread