I send messages via email to 100-500 addresses at a time, by doing a WORD
data merge and having the output go to my Entourage Outbox. This works fine
and is a very valuable tool.
Now, I wish to send a tailored message to each of 150 people, but I also
want to add one or two enclosures to each outgoing message. The
enclosure(s) would be the same for every message. Can this be done without
opening every message separately and adding the enclosure(s)?
Yes, by an AppleScript. Save the following script in Script Editor. In this
case, save it in Script Editor as an APPLICATION, not as a Script - you have
to click the popup in the Save dialog box. Save it to your desktop or
elsewhere as "Add Attachments". You can even drag it to the Dock.
Before doing an email Merge in Word, clear your outbox (send) if anything is
there, then set Entourage to Work Offline in the Entourage Menu, or disable
Send & Receive All schedule. You don't want the messages sent out before
you're ready. When you've done the Merge in Word, go find your files that
you want to add as attachments. If you want to send more than one file, get
them together on your desktop or Documents or another folder, and use
command-click to select both (or all) at the same time. Then drag them on
top of "Add Attachments" applet wherever it is, or in the Dock if it's
there. That's it. You'll get a message within seconds telling you it's all
done and letting you choose whether to Send Now or later. (The first time
you'll probably want to say "No" to go check first.)
on open theFiles
tell application "Microsoft Entourage"
set theMessages to every message in out box folder
repeat with theMessage in theMessages
repeat with theFile in theFiles
make new attachment at theMessage with properties
{file:theFile}
end repeat
end repeat
activate
beep
display dialog "Attachments have been added." & return & return &
"Send now?" buttons {"No", "Yes"} with icon 1
if button returned of result = "Yes " then
set working offline to false
send
end if
end tell
end open
--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page:
http://www.entourage.mvps.org/toc.html
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.