Working code:
Correction - non-working code ;)
<? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = ‘ggggggggggggg'; $eol = "\r\n"; $smtp = "localhost"; $headers = 'From: '.$fromname.' <'.$fromaddress.'>'.$eol; $headers .= 'Bcc: [EMAIL PROTECTED]'; $eol = "\r\n";
This should be: $headers .= 'Bcc: [EMAIL PROTECTED]' . $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