I have a survey form that I want mailed to the client. I've built the
message body as plain text and tested it by writing it to a file and
examining the file. It's being built correctly.
When I send it through mail by a command similar to:
mail($to, 'Survey Results', $msgBody, "From: xx*@yyy.com");
the message gets broken up. At periodic places in the file, I seea
"!" (without the quotes) being inserted and the text format is broken.
The only thing I can think of is some type of length restriction. The
message isn't super long, but it isn't short either.
Can anyone offer any help?