|
Please help me. I get this error during retrieving email. Message: Quoted-printable decoding error in header 'Subject'. Exception: Core.EmailAccountManager.ImportEmails at cSVAqj.CkMqVUZ.ATsxQKZ(String , Int32 , Int32 ) at cSVAqj.CkMqVUZ.elhKQZ(String , Int32 , crJYrO ) at cSVAqj.CkMqVUZ.BrIywR(String ) at Rebex.Mime.Headers.Unstructured.clLXPXZ(ALmPMm ) at Rebex.Mime.MimeHeader.clLXPXZ(String , String ) at Rebex.Mime.MimeHeader.get_Value() at Rebex.Mime.MimeHeaderCollection.BGlmNGZ(String ) at Rebex.Mime.MimeMessage.get_Subject() at Rebex.Mail.MailMessage.get_Subject() at Core.EmailAccountManager.ImportEmails(Int32 emailAccountID) in D:\GO-NET Projects\Classica\CRM\Core\EmailAccountManager.cs:line 158 |
|
The error most likely occurred because the e-mail message's subject header was not properly encoded and could not be parsed by Rebex Mail. The following code reproduces the same error:
This produces an exception when accessing the Workaround 1: Prior to loading the message, enable
If the message was not loaded from a file, stream or byte array but retrieved from an Imap or Pop3 object instead, a corresponding Workaround 2: If accessing |
Can you please save the email using MailMessage object's Save method and mail it to us (support@rebex.net) for analysis? Alternatively, open it using notepad or a similar text editor and post the content of Subject header here. We should be able to help then!