Working code:
Correction - non-working code ;)
<? $email = $_REQUEST['email']; $fromaddress = 'admin@xxxxxxxxxxxxxxxx'; $fromname = ‘ggggggggggggg'; $eol = "\r\n"; $smtp = "localhost"; $headers = 'From: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'Bcc: webmaster@xxxxxxxxxxxxxxxx'; $eol = "\r\n";
This should be: $headers .= 'Bcc: email@xxxxxxxxxxx' . $eol; You need the EOL on the end. Plus afaik in email headers it's \n not \r\n. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php