Saturday, July 4, 2020

#1 2020-04-29 12:42:14 pm

jhogue
Member
Registered: 2020-04-25
Posts: 6

Scripting Mail: Defining the Sender & Adding Recipients

Hi !
I could really use some help scripting Mail.
I've managed to get the basics operational but my attempts to set the Sender and add a list of recipients has resulted in CRASHING Mail !!! Ouch.

Here's where I'm at:

I have 5 email accounts and I need to select the correct one for the out going email.

I have a list (BCCList) of email addresses obtained from a spreadsheet (it is defined as a List not a String). I have been dumping them in as a string but mail does not automatically recognize them as email addresses and thus it does not work. I understand I have to load them in with a Repeat loop but something is still not working.

I'm not including my code as it literally crashes Mail.

Thanks for your help!!

Jason

Offline

 

#2 2020-04-29 01:40:50 pm

Yvan Koenig
Member
Registered: 2006-09-14
Posts: 4532

Re: Scripting Mail: Defining the Sender & Adding Recipients

May help to look at message #3 in http://macscripter.net/viewtopic.php?id=45505

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) mercredi 29 avril 2020 21:40:45

Offline

 

#3 2020-04-29 03:12:11 pm

jhogue
Member
Registered: 2020-04-25
Posts: 6

Re: Scripting Mail: Defining the Sender & Adding Recipients

This has helped tremendously !!
My script is working !!:cool:

I will be going through that thread in great detail :-)

Thanks again!

Jason

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)