Hughesy1986 Posted October 7, 2010 Share Posted October 7, 2010 Hiya guys, Have just developed a new mass mailing system for a client, they are getting some emails sent back to them saying that this error has occured: returning message to sender 500 Line too long I've googled this and found some information on it relating to a certain amount of characters have been passed in one line, and this is something to stop hacking attempts. What command can I use on the code to stop this? The content contains HTML and CSS. Hope someone can help me on this! Thanks alot! Glen Link to comment https://forums.phpfreaks.com/topic/215318-php-mail-error-500/ Share on other sites More sharing options...
Hughesy1986 Posted October 7, 2010 Author Share Posted October 7, 2010 For all those that get this error aswell, I needed to add wordwrap to the content to make sure that there where no lines over 1000 long. Glen Link to comment https://forums.phpfreaks.com/topic/215318-php-mail-error-500/#findComment-1119723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.