Cant send php mail with bigger content

Hi all! Im using the following code to send emails ??? and it works fine if the body content is small. But if the body content is big, the email wont get delivered. What is the problem?

<?php // multiple recipients $to = '[email protected]' . ', '; // note the comma $to .= '[email protected]'; // subject $subject = 'Birthday Reminders for August'; // message $message = ' Birthday Reminders for August

Here are the birthdays upcoming in August!

'; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: Mary , Kelly ' . "\r\n"; $headers .= 'From: Birthday Reminder ' . "\r\n"; $headers .= 'Cc: [email protected]' . "\r\n"; $headers .= 'Bcc: [email protected]' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); ?>

Message lines should not be larger than 70 characters.
This might be the problem I dunno.

What is your larger message?

I summarized it. Now it works fine. Thanks anyway.

Sponsor our Newsletter | Privacy Policy | Terms of Service