• 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: Mail Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail Frameworks


  • Subject: Re: Mail Frameworks
  • From: Simon Wolf <email@hidden>
  • Date: Wed, 2 Jun 2010 21:12:04 +0100

On 2 Jun 2010, at 19:57, Jeremy Matthews wrote:

> So...I'm working on an app that needs an email framework to send messages...right now I'm using MailCore, and I hear good things about EDMessage as well...where I am at now I need to send attachments and neither is very forthcoming on support details there (or examples) - so I am reading through headers and trying to figure what works and what doesn't.
>
> Is anyone using either of these for attachments?
>
> Any opinions on one or the other? Something else?

I'm using EDMessage in a project and it has been good to work with albeit with a few quirks.

1. EDMessage and EDCommon both contain some deprecated methods. You can either ignore these or do as I did and tidy them up. Essentially it was replacing occurrences of 'stringWithContentsOfFile:' with 'stringWithContentsOfFile:encoding:error:' and replacing 'stringWithCString:' with 'stringWithCString:encoding:'. I also replaced an occurrence of 'stringWithCString:length:' with 'stringWithCharacters:length:'.

2. I had a problem attaching text files because they appeared in-line in the emails rather than as attachments. I never really got to the bottom of whether this was a problem with mail clients or with the framework. You can read about it in my post in their forums at:
http://www.mulle-kybernetik.com/forum/viewtopic.php?f=5&t=58

3. I had a problem with spaces in attachment names. Again, you can read about it in their forums at:
http://www.mulle-kybernetik.com/forum/viewtopic.php?f=5&t=59

However the framework is easy to use and has been reliable and I worked around the last two issues.

Simon Wolf

Website: http://www.ottersoftware.com
Twitter: http://www.twitter.com/sgaw
iChat: email@hidden_______________________________________________

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

  • Follow-Ups:
    • Re: Mail Frameworks
      • From: Torsten Curdt <email@hidden>
References: 
 >Mail Frameworks (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Problem with CGPDFPageRef
  • Next by Date: Re: Problem with CGPDFPageRef
  • Previous by thread: Mail Frameworks
  • Next by thread: Re: Mail Frameworks
  • Index(es):
    • Date
    • Thread