AnsweredAssumed Answered

Email selected contacts using checkbox and script

Question asked by Jeff123 on Dec 22, 2009
Latest reply on Dec 22, 2009 by Jeff123

Title

Email selected contacts using checkbox and script

Post

I am attempting to create a script but cannot figure out how to work it.  I think I am doing it too simple.

 

I have a field of checkboxes (named Email Boxes) with values:

Contact 1

Contact 2

Contact 3

 

This goes for like 5 contacts that are on the same particular record.  The email fields for those records are "Contact Management::Email 1", "Contact Management:: Email 2", and so forth.

 

My non working script looks like this (this is the first email and second part, it is duplicated for each of the other e-mails)

 

If [Contact Management::Email Boxes = "Contact 1"]

Send Mail [Send via E-mail Client; To: Contact Management::Email 1]

End If

 

If [Contact Management::Email Boxes = "Contact 2"]

Send Mail [Send via E-mail Client; To: Contact Management::Email 2]

End If

 

My ideal goal is that when specific button is clicked it will open up Apple Mail with only the contacts selected loaded in the "To" field of an e-mail.

 

I would also like a "Select all" feature, but that I haven't even gotten to that step yet.

 

Thanks.  This forum is so helpful for a newbie like me! 

 

Outcomes