can i send multiple emails?? like this:
$mailTo = "something1@hotmail.com;something2@hotmail.com;something3@hotmail.com;something4@hotmail.com;"
mail($mailTo, $mailSubject, $mailBody, $mailFrom);
Yes you can, just separate the email addresses with commas instead of semi-colons.
thanks!
is this thing going to work if i have a lot of email addresses.. ?? (more than 200..)
put your e-mail addresses in a database (like mysql) and run a loop to send all the mails...
i guess i can do the same if i put them to TXT file..
It depends on your mail program as to whether you can comma separate addresses, I think. Sendmail, by default, doesn't allow that.