Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Parse problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sarahmcjj
Newbie
Newbie
Avatar

Joined: 09 July 2022
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 11 July 2022 at 3:11pm | IP Logged Quote sarahmcjj

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 View sarahmcjj's Profile Search for other posts by sarahmcjj
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 12 July 2022 at 1:30am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide