5

I am preparing a Mail using NSSharingService. I mainly followed the advice given here: NSSharingService to send email and read email body

Effectively I am calling

[self.emailSharingService performWithItems:shareItems];

where shareItems is an NSArray containing one NSString object (the body) and several NSURL objects (the attachements)

With AppleMail the preparation of the mail works fine (e.g. body & attachments) but unfortunately the attachments are not added if I use another mail client (e.g. Thunderbird, Spark)

Does anyone know how I can achieve the addition of the attachments in other mail clients than AppleMail?

Jayesh Thanki
  • 2,037
  • 2
  • 23
  • 32
david
  • 113
  • 10
  • Have you found an answer in the 4 years that have passed – Craigt Nov 28 '22 at 08:52
  • @jayesh Thanki -- I, too, have the exact same question: Did you ever figure this out? I've run into this issue and of course Apple Developer support is not going to provide any assistance. – SMGreenfield Feb 10 '23 at 19:24
  • Hello, sorry for the late response. I just checked my old code - it still does not work with other mail clients. Actually we circumvented the problem by building our own in-App-Mail-Client. – david Feb 16 '23 at 19:09

0 Answers0