mail() message limited to 1000 characters?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kammera
Forum Newbie
Posts: 1
Joined: Tue Aug 16, 2005 10:16 am

mail() message limited to 1000 characters?

Post by kammera »

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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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)
Post Reply