This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
how_to:data_stream_contained_nul_character [2016/02/26 10:27] – paul | how_to:data_stream_contained_nul_character [2016/05/11 09:39] – paul | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Data stream contained NUL character====== | ======Data stream contained NUL character====== | ||
+ | |||
+ | =====Description of the problem===== | ||
NUL characters (bytes with value 0) are not allowed in email messages and should not be transmitted over POP3, SMTP or IMAP4 except in certain circumstances. If an attachment contains such a byte it must be encoded using //Base64// or // | NUL characters (bytes with value 0) are not allowed in email messages and should not be transmitted over POP3, SMTP or IMAP4 except in certain circumstances. If an attachment contains such a byte it must be encoded using //Base64// or // | ||
Line 9: | Line 11: | ||
So, the ideal solution would be for the upstream mail server to sort the problem out, as the problem is coming from there (they should either reject the message, or recode the message to base64 or quoted-printable encoding). | So, the ideal solution would be for the upstream mail server to sort the problem out, as the problem is coming from there (they should either reject the message, or recode the message to base64 or quoted-printable encoding). | ||
+ | |||
+ | =====Changing how VPOP3 handles the invalid characters===== | ||
If that is not possible, then you can make VPOP3 handle the problem differently. VPOP3 can either remove the nul character totally, or replace it with a specified character (eg a space or question mark) | If that is not possible, then you can make VPOP3 handle the problem differently. VPOP3 can either remove the nul character totally, or replace it with a specified character (eg a space or question mark) | ||
+ | |||
+ | ====Version 6.17 or later==== | ||
+ | In the VPOP3 settings go to Settings -> Misc Settings -> Advanced and set the **NULL characters in POP3 downloads** option as you wish. | ||
+ | |||
+ | ====Version 6.16 or earlier==== | ||
To do this for POP3 collection (the usual time it is needed) go to a command prompt in the VPOP3 directory and run: | To do this for POP3 collection (the usual time it is needed) go to a command prompt in the VPOP3 directory and run: |