I need to automate sending reports generated with FM Pro. I have been stymied by the inability to send an email to Entourage 2004 with multiple attachments.
The main problem is that each email will have a different number of attachments.
set desktop_folder to ((path to desktop) as string)
set groupfile_path to ((desktop_folder & "Anna Medical Bill.tif") as list)
set groupfile_path to groupfile_path & ((desktop_folder & "cbiActivity.qif") as list)
tell application "Microsoft Entourage"
activate
make new outgoing message with properties {subject:mail_subject, recipient:mail_address, content:mail_body, attachment:groupfile_path}
end tell
:(