mail() message limited to 1000 characters?
Moderator: General Moderators
mail() message limited to 1000 characters?
I'm developing an application to run reports for on employee stats. The programs runs a query and prints the results into a message and then sends the email to the employee's supervisor. For some reason if the email is over 1000 characters the message is sent as blank. I can't set the same script on another server that I host on and the email is sent fine. Any suggestions as to what may be causing this and how it can be fixed. I believe it would be a setting somewhere but I'd rather have the name of what needs to be changed before I go to the engineers. Thanks.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
it's most likely a limit setting in sendmail for that host. You may want to look into integrating phpmailer as you can set an smtp server to talk to (like if it was a normal email from a normal email client)