Hi Marco,
I just discovered Php-Residence yesterday and installed on my own server to try out.
All is working well but I do have a problem with the emails that are sent. The last line is always finishes with garbage characters. Both on the message to the client and administrator.
I am using PHP 5.2.6 and Sendmail 8.14.2 on a machine operating under FreeBSD
Here is an example --
If you received this email without requesting it, it is because someone
with ip address 192.168.0.10 has used your email address in our form. In
this case you can ignore this message.N���,j�j��zw!y�u�������ݭ�h�ם���~�����rus=
Have you heard of this problem before ?
It looks as if the base64_encode() is getting the extra charchters from some place.
In any case the program is great and I can imagine the large amount of time you must spend on it.
Jim
Garbage in emails
Moderator: marco
-
- Posts: 2
- Joined: Sat May 31, 2008 5:24 pm
- Location: France
Found the problem
After a lot of thinking I finally found out what the problem was.
On my server that handles the mail traffic I am using Clamav for virus checking of all mail. It is set up to put a signature on the bottom of messages that the mail has been checked for viruses.
Since the content was marked as base64_encoded the plain text added by Clamav was added as garbage at the end of the message.
I have turned off the signature and all is clean.
Thanks for your suggestion, I actually tried reading the mail that had the problem using both POP3 and IMAP and while the visualization of the garbage was a bit different it was always there. Now I know why!
All the rest works great.
Jim
On my server that handles the mail traffic I am using Clamav for virus checking of all mail. It is set up to put a signature on the bottom of messages that the mail has been checked for viruses.
Since the content was marked as base64_encoded the plain text added by Clamav was added as garbage at the end of the message.
I have turned off the signature and all is clean.
Thanks for your suggestion, I actually tried reading the mail that had the problem using both POP3 and IMAP and while the visualization of the garbage was a bit different it was always there. Now I know why!
All the rest works great.
Jim