I'm trying to send some content which I generate with PHP in HTML and plain text, but the body gets truncated. What could be causing this?
The most likely reason for this is PHP code you are using is generating really long lines. Try adding a few newline characters to your code. This should resolve your issue.