I am using PHP mail()
to send daily notice emails.
But I noticed that if the string, which stores the content of the mail, is too long, the email will be interrupted, i.e. only parts of the content will be displayed in the received emails.
When content string is short, the email will be complete. So it seems that PHP has some kinds of limits for the length of string.
I tried to use echo $content;
to display the string that stores the content, the content is complete in the browser. But when the same string sent out in the email, it becomes interrupted.
Can anyone help me out with this? Thanks in advance!