Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Public Mail API - multiple email addresses in "to" ? (2 Comments)

$
0
0

Topic by Ian Oliver

Hi All

I am trying to figure out how to put multiple emails in the $mm->To->EmailAddresses line of the code but cant seem to figure it out, have tried multiple ways but it keeps complaining when I run the script.

$mm->To->EmailAddresses= array($email1);

 

I have tried this but have had no luck:

$mm->To->EmailAddresses= array($email1, $email2, $email3);

Does anyone have any pointers ? the documentation doesnt explain how to do multiples.

Cheers!

Ian


Viewing all articles
Browse latest Browse all 2504

Trending Articles