> $headers .= "Cc: [EMAIL PROTECTED]\r\n"; > $headers .= "Bcc: [EMAIL PROTECTED]\r\n"; > $headers['User']='bankem'; > $headers['Password']='narayana'; > > > /* and now mail it */ > mail($to, $subject, $message, $headers); > > ?> > > > Warning: Server Error in c:\www/email1.php on line 45
You do not need to send your username and password with the headers - those are the MAIL headers (From, Reply-To, Errors-To, etc) Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]