Send Email with multiple Attachments in Entourage

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

:(:frowning:

:lol::lol:

I love these forums. Whenever I post to one, I figure it out myself!


set desktop_folder to ((path to desktop) as string)



set groupfile_path to (((desktop_folder & "Anna Medical Bill.tif") as alias) as list)

set groupfile_path to groupfile_path & (((desktop_folder & "cbiActivity.qif") as alias) as list)


tell application "Microsoft Entourage"
	activate
	make new outgoing message with properties {subject:"TEST", recipient:"withanlemmon@advantastar.com", content:"Please!", attachment:groupfile_path}
	
end tell