You can also have a look to XMail a free osax allowing you to send
mails from AppleScript without using third part applications. The
syntax is pretty straight forward :
<script>
send mail to "recipient <email@hidden>" from "email@hidden"
subject "Foo Bar" body "Hello World" attachments {a list of file
refs} smtp server "mail.yourisp.com"
</script>
I have a need for a fairly basic mail merge script to work with
Address Book and Mail.
I need to send an individual message to every person in an address
book group, using their first and last names.
I've just started toying with Mail, I hoped it would be as simple as
make new message at beginning with properties {to: "email@hidden";
contents "Hello World"; subject: "Foo Bar"; attachments : {list of
file refs}
send message 1
So, before I start reinventing the wheel I'm wondering if anyone
else has covered this ground before.
Thanks
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/lists%
40lestang.org