Click to See Complete Forum and Search --> : mail() and multiple recipients
damon2003
11-11-2003, 03:29 AM
Hi,
how do you use the mail() to send to multiple recipients,
you cant just use:
mail('mail1@mail.com, mail2@mail.com', subject, message);
thanks
You can do a CC in a mail header.
$header = "From: email@email.com";
$header .= "CC: anotheremail@email.com";
$header .= "CC: onemoreemail@email.com";
mailto ($email, $subject, $message, $headers)
I'm pretty sure that will work :)
Originally posted by damon2003
you cant just use:
mail('mail1@mail.com, mail2@mail.com', subject, message);Yes, you can. It should have worked fine like that.
damon2003
11-11-2003, 08:05 AM
thanks,
yea your right it does work, just tried again with different address. Tthe first time I tried it one of the addresses was a hotmail address. The hotmail addresses dont seem to work for some reason
Look in your spam folder. If you don't set any headers, odd's are real good that's where it would end up. ;)