Re: sending email with attachement from cocoa
Re: sending email with attachement from cocoa
- Subject: Re: sending email with attachement from cocoa
- From: "Chris Suter" <email@hidden>
- Date: Sat, 27 Sep 2008 14:03:57 +1000
On Sat, Sep 27, 2008 at 4:11 AM, has <email@hidden> wrote:
> Alexander Cohen wrote:
>
>> Is there a way to use a url request to open mail with all its fields
>> completed but most importantly, contain an image attachement?
>
>
> Nope. If you want to send an email in the background, you'll need to look
> into a third-party framework option:
>
> http://www.collaboration-world.com/pantomime
> http://www.theronge.com/mailcore
> http://www.mulle-kybernetik.com/software/EDFrameworks
>
> If you're talking specifically about creating an outgoing message in
> Mail.app, you'll need to control it via its Apple events ('AppleScript')
> interface. It's somewhat buggy (chronically so), but can usually be coaxed
> into doing roughly what you want. I've got an sample project (SendEmail) in
> appscript's svn repository that shows how to do this using ObjC and
> appscript:
>
> svn checkout
> http://appscript.svn.sourceforge.net/svnroot/appscript/objc-appscript/trunk objc-appscript
>
> I believe there's a sample project somewhere on Apple's site that shows how
> to do the same sort of thing using Leopard's Scripting Bridge (but I'll not
> link to that here as I don't have a very high opinion of Scripting Bridge:).
There's also our CSMail framework which, unlike the others above,
talks to the locally installed e-mail client rather than using SMTP
directly. It supports Mail, Entourage and Eudora at the moment.
See:
<http://www.coriolis-systems.com/opensource>
-- Chris
_______________________________________________
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