On Wed, 25 Dec 2002, Ben Edwards wrote: > I have a fairly simple mail form which gets email, subject and message and > posts to itself. > It then use mail() function to send a email. > mail( $admin_email, $subject, $message, "From: $email" ); > Problem is the message gets truncated if there is a comma in the message > after the comma.
I have forms that have identical functionality, but don't exhibit that erroneous behavior. I can't tell what you've done to the arguments to mail() before using them, but the only thing I do is run them through stripslashes() and trim(). i.e. - $message = trim( stripslashes( $_POST['message'] ) ); If that's what you do too ... weird! If not, give it a try and see what happens. g.luck & cheers! ~Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php