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: [EMAIL PROTECTED]"; $mail_headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $mail_headers .= "Content-Transfer-Encoding: quoted-printable\r\n"; To: [EMAIL PROTECTED] Subject: Test From: [EMAIL PROTECTED], [EMAIL PROTECTED] Reply-to: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]"; To: [EMAIL PROTECTED] Subject: Test Content-Type: text/html; charset=ISO-8859-1 Rejected: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: [EMAIL PROTECTED], [EMAIL PROTECTED] Reply-to: [EMAIL PROTECTED] Regards, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php