Title: Creating outgoing mail messages via AppleScript
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.)

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

Reply via email to