1
kaotik
$xoopsMailer->setToEmails multiple emails
  • 2005/6/27 13:55

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


To send to several emails i've been tring this:

$xoopsMailer->setToEmails($email$email2$email3);


is this correct? or does xoopsmailer only allow to send 1 email at a time.

Thanks

2
Mithrandir
Re: $xoopsMailer->setToEmails multiple emails

setToEmails() can take a single string email - or an array of emails.

so
$xoopsMailer->setToEmails( array($email$email2$email3) );

Would do what you want it to.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Login

Who's Online

375 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 375


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits