Author |
|
sarahmcjj Newbie
Joined: 09 July 2022 Location: United Kingdom
Online Status: Offline Posts: 9
|
Posted: 11 July 2022 at 3:11pm | IP Logged
|
|
|
I have loaded .eml mail which contains just headers and was not completely downloaded, caught two malfunctions
MailMessage.IsEntire Property and its provided sample ALWAYS returns TRUE, even for the incomplete emails
DecryptAndVerify2 silently exits the code without throwing any exception when called on this message
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 July 2022 at 1:30am | IP Logged
|
|
|
Quote:
MailMessage.IsEntire Property and its provided sample ALWAYS returns TRUE, even
for the incomplete emails
|
|
|
You probably downloaded it from file or memory, not a mail server. IsEntire is set by MailBee.NET when downloading email from IMAP or POP3 in header-only mode. It has nothing to do with the message format or content (we cannot derive if the message is entire or not, from its content).
I.e. if you download a message in header-only mode, IsEntire is false. Now if you save it into a file and then load from that file again, IsEntire will be true.
Quote:
DecryptAndVerify2 silently exits the code without throwing any exception when called on this message |
|
|
For me, email with this header but without any body does throw an exception in this case.
Content-Disposition: attachment;
name="smime.p7m"
Regards,
Alex
|
Back to Top |
|
|