Non sequitur thread
Forum rules
This forum is a "Free-for-all" type forum, but without all the freedom.
Religious or political discussions will not be tolerated, nor will personal attacks. The forum will be policed offending posts will be removed, and offending posters will be warned and/or disciplined.
This forum is a "Free-for-all" type forum, but without all the freedom.
- VDub26Falcon
- The Drunken Irish Falcon

- Posts: 4710
- Joined: Mon Mar 26, 2007 3:19 pm
- Location: Elyria, OH
- Contact:
Re: Non sequitur thread
Sending Batch Messages
After including the swift setup, instantiate a Recipient List Object: $Recipients = new Swift_RecipientList();
Loop through your e-mail list in whatever fashion you want, adding each e-mail address to the object like so: $Recipients->addTo($Recipient);
Instead of '$email' being the second parameter in the send method, it will be '$Recipients' instead. (obviously your variable names can be whatever you want)
the batch send command is then sent like so: $swift->batchSend($Smessage, $Recipients, new Swift_Address($senderEmail, $senderName));
require_once(t3lib_extMgm::extPath('pb_widget_library') . 'widgets/most_emailed/swift/SwiftSetup.php');
$Recipients = new Swift_RecipientList();
$Smessage = new Swift_Message($Subject, $Message);
$Recipients->addTo($Recipient);
$swift->batchSend($Smessage, $Recipients, new Swift_Address($senderEmail, $senderName));
$swift->disconnect();
After including the swift setup, instantiate a Recipient List Object: $Recipients = new Swift_RecipientList();
Loop through your e-mail list in whatever fashion you want, adding each e-mail address to the object like so: $Recipients->addTo($Recipient);
Instead of '$email' being the second parameter in the send method, it will be '$Recipients' instead. (obviously your variable names can be whatever you want)
the batch send command is then sent like so: $swift->batchSend($Smessage, $Recipients, new Swift_Address($senderEmail, $senderName));
require_once(t3lib_extMgm::extPath('pb_widget_library') . 'widgets/most_emailed/swift/SwiftSetup.php');
$Recipients = new Swift_RecipientList();
$Smessage = new Swift_Message($Subject, $Message);
$Recipients->addTo($Recipient);
$swift->batchSend($Smessage, $Recipients, new Swift_Address($senderEmail, $senderName));
$swift->disconnect();
- VDub26Falcon
- The Drunken Irish Falcon

- Posts: 4710
- Joined: Mon Mar 26, 2007 3:19 pm
- Location: Elyria, OH
- Contact:
- Redwingtom
- Peregrine

- Posts: 5251
- Joined: Thu Jul 22, 2004 11:16 pm
- Flipper
- The Global Village Idiot

- Posts: 18315
- Joined: Fri Jul 23, 2004 1:01 am
- Location: Ida Twp, MI
Re: Non sequitur thread
Blitzkrieg Bop...
It's not the fall that hurts...it's when you hit the ground.
- Lord_Byron
- Minister of Silly Walks

- Posts: 2158
- Joined: Fri Jul 23, 2004 7:04 am
- Location: Rochester NY
-
CapitalFalcon
- Peregrine

- Posts: 3464
- Joined: Thu Jul 22, 2004 11:13 pm
- Location: Grosse Pointe, MI
Re: Non sequitur thread
"f**k yourself" -Dick Cheney, 2004
"He's a Jackass" -Barack Obama, 2009
"He's a Jackass" -Barack Obama, 2009
- Redwingtom
- Peregrine

- Posts: 5251
- Joined: Thu Jul 22, 2004 11:16 pm
- Peregrinner
- Peregrine

- Posts: 1937
- Joined: Mon Jan 09, 2006 3:35 pm
- Location: Okemos, MI / Bowling Green, OH
- Contact:
Re: Non sequitur thread
Put me in, coach. I'm ready to play.
- Terry S.
- Freddie Falcon 2007-2008
- Class of 2009
The 2nd Annual Alzheimer's Memorial Charity Golf Tournament
To benefit the Alzheimer's Association's Greater Michigan Chapter
July 16, 2011
http://alzheimersmemorial.org
- Freddie Falcon 2007-2008
- Class of 2009
The 2nd Annual Alzheimer's Memorial Charity Golf Tournament
To benefit the Alzheimer's Association's Greater Michigan Chapter
July 16, 2011
http://alzheimersmemorial.org
- Peregrinner
- Peregrine

- Posts: 1937
- Joined: Mon Jan 09, 2006 3:35 pm
- Location: Okemos, MI / Bowling Green, OH
- Contact:
Re: Non sequitur thread
Fried crabmeat cheese wontons.
- Terry S.
- Freddie Falcon 2007-2008
- Class of 2009
The 2nd Annual Alzheimer's Memorial Charity Golf Tournament
To benefit the Alzheimer's Association's Greater Michigan Chapter
July 16, 2011
http://alzheimersmemorial.org
- Freddie Falcon 2007-2008
- Class of 2009
The 2nd Annual Alzheimer's Memorial Charity Golf Tournament
To benefit the Alzheimer's Association's Greater Michigan Chapter
July 16, 2011
http://alzheimersmemorial.org
-
CapitalFalcon
- Peregrine

- Posts: 3464
- Joined: Thu Jul 22, 2004 11:13 pm
- Location: Grosse Pointe, MI
Re: Non sequitur thread
The fat man waddles at midnight
- VDub26Falcon
- The Drunken Irish Falcon

- Posts: 4710
- Joined: Mon Mar 26, 2007 3:19 pm
- Location: Elyria, OH
- Contact:
Re: Non sequitur thread
I wanna rock with you, all night, dance you into the sunlight.
Be Special, Be Different, BE Bowling Green - Dino Babers
- SaxyIrishTenor
- Feisty Falcon

- Posts: 2655
- Joined: Thu Sep 16, 2004 3:00 pm
- Location: Council Bluffs, Iowa
Re: Non sequitur thread
I stopped working for Baltimore city schools in June and they're STILL trying to screw me!
SHEEEE'S BAAAAAAAACK.
"SWF seeks marching band for relationship..."
"No well-behaved woman ever made history."
"SWF seeks marching band for relationship..."
"No well-behaved woman ever made history."
- Flipper
- The Global Village Idiot

- Posts: 18315
- Joined: Fri Jul 23, 2004 1:01 am
- Location: Ida Twp, MI
Re: Non sequitur thread
Shut the windows...you're letting all the stank out
It's not the fall that hurts...it's when you hit the ground.

