-
[RESOLVED] php email
hi guys, how to add an email address for this statement:
mail('[email protected]',"title",$text,$headers);
to add another email for this can put like this:
mail('[email protected],[email protected]',"title",$text,$headers);
what's the correct statement for this? thanks in advance.:
-
Re: php email
Hi guys, found this on php.net manual. solved my issue.
it can be accomplished using this method. hope this will help one day with beginners like me.
to send to multiple recepient can do like this:
$to = '[email protected]' . ', '; // note the comma
$to .= '[email protected]';
and on the mail statement:
// Mail it
mail($to, ,"title",$text,$headers);