Mail Header - id this PHP

From: Date: Wed, 26 Mar 2003 23:44:44 +0000
Subject: Mail Header - id this PHP
Groups: php.general 
Request: Send a blank email to php-general+get-141153@lists.php.net to get a copy of this message
Hello, I am trying to format the mail header that will be send by mail(). One thing that I noticed was it only accept for the first no. of lines or charracters (???) See sample 1 & 2. Is this a php problem (4.2.2) or has something to do the mailer ??? This script is working on (4.2.1) but is in different type of server. FYI, on header sent it has some other default header included Example. (1) $mail_headers .= "MIME-Version: 1.0\r\n"; $mail_headers .= "From: WEB\n"; $mail_headers .= "Reply-to: $Email\n"; $mail_headers .= "Bcc: webmaster@atlantishotel.com\n"; $mail_headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $mail_headers .= "Content-Transfer-Encoding: quoted-printable\r\n"; To: info@domain.com Subject: Test From: WEB@domain.com, guest1@domain.com Reply-to: user@domain.com MIME-Version: 1.0 Rejected Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Example (2) $mail_headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $mail_headers .= "Content-Transfer-Encoding: quoted-printable\r\n"; $mail_headers .= "MIME-Version: 1.0\r\n"; $mail_headers .= "From: WEB\n"; $mail_headers .= "Reply-to: $Email\n"; $mail_headers .= "Bcc: webmaster@atlantishotel.com\n"; To: info@domain.com Subject: Test Content-Type: text/html; charset=ISO-8859-1 Rejected: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: WEB@domain.com, guest1@domain.com Reply-to: user@domain.com Regards, John

« previous php.general (#141153) next »