• 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: Sending email with attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending email with attachments


  • Subject: Re: Sending email with attachments
  • From: Lorenzo Thurman <email@hidden>
  • Date: Tue, 1 Feb 2011 17:30:45 -0600

Thanks for the reply. Yep, I know there are a variety of mail clients out
there, so not everyone uses Mail. And that sucks. This program is actually a
port of an iPhone application for which, different mail clients are not a
problem. But at least to start, I'm only going to support Mail. I'll likely
just copy the attachment to the desktop and let the non-Mail.app users
handle it from there. For now at least.

On Tue, Feb 1, 2011 at 4:18 PM, John Joyce <
email@hidden> wrote:

>
> On Feb 2, 2011, at 7:13 AM, email@hidden wrote:
>
> > How can one go about doing this and support 10.4-10.6? There are links
> all over the place pointing to deprecated API's (NSMailDelivery) or
> frameworks that are 10.5+ (EDMessage, Scripting Bridge), but nothing I can
> use. All I want to do is open the default mail application, create a new
> message, attach a file and then allow the user to address it and send. That
> should not be too difficult, I should think. Is an Automator action the way
> to go? Can someone help me out?
> > Thanks
> > ____________________________________________
>  HI Lorenzo,
>
> If you need to support multiple versions of the OS have 3 options really :
>
> 1)
> Use compiler directives with #ifdef to check the os version number and
> utilize the frameworks appropriate for the version found.
>
> 2)
> Use AppleEvents (AppleScript or other means of interfacing with
> AppleEvents)
>
> 3)
> Role your own means of sending the mail.
>
> *** Keep in mind some users may not use the Mail application at all. They
> may be using another email client app, OR they may use webmail, OR (rare) no
> email at all.
>
>
>


--
"My break-dancing days are over, but there's always the funky chicken"
--The Full Monty
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >Sending email with attachments (From: email@hidden)
 >Re: Sending email with attachments (From: John Joyce <email@hidden>)

  • Prev by Date: Re: Sending email with attachments
  • Next by Date: Re: Sending email with attachments
  • Previous by thread: Re: Sending email with attachments
  • Next by thread: Re: Sending email with attachments
  • Index(es):
    • Date
    • Thread