send email to multiple adress
Posted: Mon Sep 08, 2008 12:46 am
hi to all
I know how to send email in which address is from the user but it is only one email ads. I am planning to allow the user to send into multiple address using a comma or semi colon as a separator. But how can I extract that addresses and put into an array so that I can use loop. I want to use a split but i could not specified (list of variables) to be assigned from the split since I don't know how many addresses will be input from the users.
please give an advice
thanks in advance
Tirso
list($email,$email1) = split(',',$address);
I know how to send email in which address is from the user but it is only one email ads. I am planning to allow the user to send into multiple address using a comma or semi colon as a separator. But how can I extract that addresses and put into an array so that I can use loop. I want to use a split but i could not specified (list of variables) to be assigned from the split since I don't know how many addresses will be input from the users.
please give an advice
thanks in advance
Tirso
list($email,$email1) = split(',',$address);