• 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: Any way to find out user's default email client?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to find out user's default email client?


  • Subject: Re: Any way to find out user's default email client?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 24 Apr 2007 10:52:36 -0400
  • Organization: Rogue Research

On 2007-04-24 07:28, Ryan Stevens said:

>>> I was hoping to find a way of asking the system in Cocoa what the
>>> active
>>> user's default email client is and use the appropriate
>>> AppleScript. I don't
>>> see this and may end up falling back to a preference (like iPhoto
>>> does).
>>>
>>> Am I missing it?
>>
>> What about LSGetApplicationForURL() or LSCopyApplicationURLsForURL
>> () while passing a generic mailto: URL?
>
>Can you include attachments in mailto: URLs?

No.  You have to special-case every mail application you want to support
and write different AppleScript to attach the attachment.  It sure would
be nice if there was a better way.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Any way to find out user's default email client?
      • From: Ryan Stevens <email@hidden>
References: 
 >Any way to find out user's default email client? (From: Mike Zornek <email@hidden>)
 >Re: Any way to find out user's default email client? (From: "Justin R. Miller" <email@hidden>)
 >Re: Any way to find out user's default email client? (From: Ryan Stevens <email@hidden>)

  • Prev by Date: Re: Any way to find out user's default email client?
  • Next by Date: Re: NSTask prevents crashreporter from running when child process crashes?
  • Previous by thread: Re: Any way to find out user's default email client?
  • Next by thread: Re: Any way to find out user's default email client?
  • Index(es):
    • Date
    • Thread