Hey, all. I have an AppleScript that's generated in a FileMaker Pro database, which sends out an email merge to people in the database. (I use this to send out usernames and passwords to people with private access to the site.)This is the quick and easy way. It gets more complicated if you want display names, multiple recipients and/or cc or bcc recipients:
The problem is that right now it's creating a new draft window, which means I have to manually go into Entourage and click "Send Now" for each outgoing message. Pain in the neck -- tolerable for a mailing I did today to 250 users, but impossible when I start doing 5,000 or more.
Can anyone rewrite the following to put emails straight into outgoing mail? Much obliged.
tell application "Microsoft Entourage"
set ClientAccount to POP account 10
-- sets messages to appear to come from my client
set NewMess to make new draft window with properties {subject:"Subject line", to recipients:"[EMAIL PROTECTED]", account:ClientAccount}
set the content of NewMess to "Here's your password."
end tell
tell application "Microsoft Entourage"
set ClientAccount to POP account 10
-- sets messages to appear to come from my client
set NewMess to make new outgoing message at drafts folder with properties {subject:"Subject line", recipient:{address:"[EMAIL PROTECTED]"}, account:ClientAccount, content:"Here's your password."}
end tell
--
Paul Berkowitz
