multiple email

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
kanchan
Forum Commoner
Posts: 80
Joined: Tue Nov 30, 2004 12:03 pm

multiple email

Post by kanchan »

can anybody tell me, how to send ecards to multiple users.?


pls reply this. i m in need of this.......help me
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

use a loop or use TO field and separated email address by commas.
kanchan
Forum Commoner
Posts: 80
Joined: Tue Nov 30, 2004 12:03 pm

Post by kanchan »

qads wrote:use a loop or use TO field and separated email address by commas.

please send me ur php codes...........

i need it........
plzzzzzzz
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

kanchan wrote:
qads wrote:use a loop or use TO field and separated email address by commas.

please send me ur php codes...........

i need it........
plzzzzzzz
if you want premade PHP code try checking out http://www.hotscripts.com
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

I'm just nice.

Code: Select all

//$emails is the index array containing your emails
for ($i=0; $i<=sizeof($emails); $i++){
mail($emails[$i], "this is the subject", "Hello friend, I am the body of the email.");
}
Of course it's rarely that simple, and you need your array with your data, but i should work. :)

Good luck!
Post Reply