I have a form with :
- a title
- a body (using FCKeditor)
When the user submits the form, a mail is sent to someone with the elements of the form.
Recently, a customer told me that he was not receiving the mail anymore. In his mail server log, he has :
"Message contains NUL characters". so the message is not sent. It is a postfix server.
After several tests, I found the part that causes this problem but in that part, nothing seems wrong...
Is it possible that FCKeditor creates nul character ?
How can I remove them automatically when the user submits the form ?
Thanks.
- a title
- a body (using FCKeditor)
When the user submits the form, a mail is sent to someone with the elements of the form.
Recently, a customer told me that he was not receiving the mail anymore. In his mail server log, he has :
"Message contains NUL characters". so the message is not sent. It is a postfix server.
After several tests, I found the part that causes this problem but in that part, nothing seems wrong...
Is it possible that FCKeditor creates nul character ?
How can I remove them automatically when the user submits the form ?
Thanks.
