Page 1 of 1

send mail to certain user and myself

Posted: Fri Feb 03, 2006 4:07 pm
by daan
send mail to certain user and myself
i tried the following, but did not work

Code: Select all

$to = $a1[email];
$to .= "myemail@myemail.com";

can anyone help?

thanx

Posted: Fri Feb 03, 2006 4:11 pm
by John Cartwright

Code: Select all

<?php $to = $a1['email']. ", myemail@myemail.com"; ?>
Try that

Posted: Fri Feb 03, 2006 4:25 pm
by daan
thanx, it works

how can I do it that my email, or both are in bcc, so not visible?

Posted: Fri Feb 03, 2006 4:37 pm
by John Cartwright
have you read http://ca3.php.net/mail ?

Posted: Sat Feb 04, 2006 6:55 am
by daan
thanx :-)