• 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: Adding a picture attachment to a mail message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a picture attachment to a mail message


  • Subject: Re: Adding a picture attachment to a mail message
  • From: Simon Forster <email@hidden>
  • Date: Mon, 8 Oct 2001 12:52:02 +0100

On Monday, October 8, 2001, at 09:55 am, Steven Lobo wrote:

I am trying to add a attachments to 'Mail.app' using Applescript. This feature works fine for text documents. But on trying to add pictures as attachments, this feature fails.

All mail attachments are text. Binary documents (pictures, executables etc) need to be encoded so that they become text. Usually this is performed automagically by the email client.

My guess is that Mail is a Cocoa app which relies on services (OS level, callable tasks) for some of its functionality. Hence, when you drag a binary attachment onto Mail, Mail calls the OS's underlying 'encode' function before attaching the binary. It would appear that you'll need to take care of this encoding task yourself and then attach the encoded attachment to Mail.

HTH

Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<mailto:email@hidden>
________________________________________________


  • Follow-Ups:
    • Re: Adding a picture attachment to a mail message
      • From: Paul Marcos <email@hidden>
References: 
 >Adding a picture attachment to a mail message (From: Steven Lobo <email@hidden>)

  • Prev by Date: RE: Strangeness with installing Applescript Guidebooks on 9.2.1
  • Next by Date: Backing up the recent items folder....
  • Previous by thread: Adding a picture attachment to a mail message
  • Next by thread: Re: Adding a picture attachment to a mail message
  • Index(es):
    • Date
    • Thread