send mail to certain user and myself

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
daan
Forum Commoner
Posts: 25
Joined: Wed Nov 16, 2005 10:32 am

send mail to certain user and myself

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Code: Select all

<?php $to = $a1['email']. ", myemail@myemail.com"; ?>
Try that
daan
Forum Commoner
Posts: 25
Joined: Wed Nov 16, 2005 10:32 am

Post by daan »

thanx, it works

how can I do it that my email, or both are in bcc, so not visible?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

have you read http://ca3.php.net/mail ?
daan
Forum Commoner
Posts: 25
Joined: Wed Nov 16, 2005 10:32 am

Post by daan »

thanx :-)
Post Reply