# Cant send php mail with bigger content

**URL:** <https://www.phphelp.com/t/cant-send-php-mail-with-bigger-content/13862>\
**Category:** General PHP Help\
**Created:** [July 18, 2011, 7:43am UTC](https://www.phphelp.com/t/cant-send-php-mail-with-bigger-content/13862 "2011-07-18T07:43:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apollo1234](https://www.phphelp.com/letter_avatar_proxy/v4/letter/a/eb9ed0/32.png) [@Apollo1234](https://www.phphelp.com/u/Apollo1234)\
**Post date:** [July 18, 2011, 7:43am UTC](https://www.phphelp.com/t/cant-send-php-mail-with-bigger-content/13862/1 "2011-07-18T07:43:54Z")

</div>

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 = 'aidan@example.com' . ', '; // note the comma $to .= 'wez@example.com'; // 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: birthdayarchive@example.com' . "\r\n"; $headers .= 'Bcc: birthdaycheck@example.com' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); ?\>

---

<div class="post-metadata">

**Author:** ![lothop](https://www.phphelp.com/user_avatar/www.phphelp.com/lothop/32/335_2.png) [@lothop](https://www.phphelp.com/u/lothop)\
**Post date:** [July 18, 2011, 1:04pm UTC](https://www.phphelp.com/t/cant-send-php-mail-with-bigger-content/13862/2 "2011-07-18T13:04:27Z")

</div>

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

What is your larger message?

---

<div class="post-metadata">

**Author:** ![Apollo1234](https://www.phphelp.com/letter_avatar_proxy/v4/letter/a/eb9ed0/32.png) [@Apollo1234](https://www.phphelp.com/u/Apollo1234)\
**Post date:** [July 19, 2011, 3:15pm UTC](https://www.phphelp.com/t/cant-send-php-mail-with-bigger-content/13862/3 "2011-07-19T15:15:09Z")

</div>

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