Hi People,
I will send an Attachment via Applescipt with Entourage, but it still works NOT.
How must I programming the script to send an Attatchmend?
Some examples, pleas!!!
Sorry for my very bad englisch.
–
thx
simon
Model: G4 1,25 GHz
AppleScript: Version 2.1 (80)
Browser: Firefox 1.0.2
Operating System: Mac OS X (10.4)
Here is the script for the moment, please help me!!
-- sendmail function for Microsoft Entourage.
to sendMail given Subject:subj, myMessage:bodyText, recipientsList:reciplist
if reciplist is {} or reciplist is "" or reciplist is {""} or bodyText is "" then return -- Nothing or no one to send to.
tell application "Microsoft Entourage"
set myAddressClass to {}
repeat with myAddress in reciplist
set myAddressClass to myAddressClass & {{address:myAddress, recipient type:to recipient}}
end repeat
try
set myMessage to (make new outgoing message at the out box folder with properties ¬
{subject:subj, content:bodyText, recipient:myAddressClass, delivery status:unsent})
send
on error errMsg number errNum --Unable to send msg but still continuing backup
end try
end tell
end sendMail
---
–
thx
simon