sendmail.php - send email to variable AND email address -
this question has answer here:
- php send mail multiple email addresses 10 answers
i have php sendmail script sends email address user input:
$to = $_post['email']; how add actual email address go alongside - example:
$to = $_post['email', 'foo@bar.com']; thanks
you can , using array:
$to = array($_post['email'],'foo@bar.com');
Comments
Post a Comment