Re: AUGD: Emailing delinquent members
Re: AUGD: Emailing delinquent members
- Subject: Re: AUGD: Emailing delinquent members
- From: Allen Emory <email@hidden>
- Date: Sat, 17 Jan 2009 16:12:59 -0500
On Jan 16, 2009, at 7:51 PM, Kitsap Mac Users Group wrote:
I've looked at Automator and Address Book and neither seem to offer
a way to send emails to those whose anniversary is in the past.
Before I spend a lot of time troubleshooting this issue, is there
any advice from other user groups about how they handle the situation?
Apple Script - something like this (via Mac OSX Hints)
--Enter the name of the account in Mail you want to send from
set theAccount to "Name of your mail account"
--Enter your Subject line
set theSubject to "The subject of the mail"
--Enter the exact path to the text file containing the message body
-- Use the "HD:Folder:File" format
set theText to "Path to the text file" as alias
set theContent to read theText
--Enter the address you're mailing to
--If you want to send to multiple addresses make a group in Address
book and put in the group name for the address
set theAddress to "address you're sending to"
tell application "Mail"
activate
set newMessage to make new outgoing message with properties
{account:theAccount, subject:theSubject, content:theContent}
tell newMessage
make new to recipient at end of to recipients with properties
{address:theAddress}
set visible to true
end tell
--comment this line out if you want Mail to make but not send the
message
send newMessage
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Augd mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden