krappleby025
Programmer
Hi all, i wonder if some one can give me a quick hand here.. im totally new to php, I have a text area field, which will contain email addresses, on a one per row basis, so for example, it will be filled in with
me@you.com
you@me.com
He@her.com etc
now i send the form to another script. and i need to send emails to each of these people, but the question is, how do i split the text area file...
so that i can mail to each individual address Instead of putting them into variables i want to send straight to them using
mail ("","$Subject","$Body","From: $myemail"
;
can someone please help
thanks
me@you.com
you@me.com
He@her.com etc
now i send the form to another script. and i need to send emails to each of these people, but the question is, how do i split the text area file...
so that i can mail to each individual address Instead of putting them into variables i want to send straight to them using
mail ("","$Subject","$Body","From: $myemail"

can someone please help
thanks