• 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: Attachment with entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attachment with entourage


  • Subject: Re: Attachment with entourage
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 21 Aug 2001 21:09:00 -0700

On 8/21/01 2:55 AM, "Alain Defrasne" <email@hidden> wrote:

> I'm looking for an example of script to send a mail with entourage with
> attached document.


tell application "Microsoft Entourage"
set newMsg to make new outgoing message at drafts folder with properties
{subject:"foo", content:"bar", recipient:{address:{"John Doe
<email@hidden>"}}, attachment:{file:alias "Macintosh HD:Documents:Special
Letter.doc"}}
send newMsg
end tell


If there is more than one attachment, it must be like this:

tell application "Microsoft Entourage"
set newMsg to make new outgoing message at drafts folder with properties
{subject:"foo", content:"bar", recipient:{address:{"John Doe
<email@hidden>"}}, attachment:{{file:alias "Macintosh HD:Documents:Special
Letter.doc"}, {file:alias "Macintosh HD:Documents:ABC Release Notes"}}}
send newMsg
end tell
--
Paul Berkowitz


  • Follow-Ups:
    • Send mail with Netscape Communicator
      • From: Jean-Marie Hoornaert <email@hidden>
References: 
 >Attachment with entourage (From: Alain Defrasne <email@hidden>)

  • Prev by Date: Designating a Source Folder
  • Next by Date: Re: Calling Carbonized OSAX
  • Previous by thread: Attachment with entourage
  • Next by thread: Send mail with Netscape Communicator
  • Index(es):
    • Date
    • Thread