Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Request Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
adam.kozovo
Newbie
Newbie


Joined: 30 June 2023
Online Status: Offline
Posts: 19
Posted: 10 July 2023 at 7:27am | IP Logged Quote adam.kozovo

Hello
Do you accept product improvement feature requests?

MailMessageToMsg - MsgToMailMessage and EmlToMsg - MsgToEml

These won't return a Boolean property to indicate the success status of operation.
While MailMessage Load-Save will return such Boolean property to do so.
Can be so much useful.
Back to Top View adam.kozovo's Profile Search for other posts by adam.kozovo
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 10 July 2023 at 11:55am | IP Logged Quote Alex

Actually, SaveMessage/LoadMessage return boolean result only when exceptions are turned off. But in that case you kinda lose the reason of the error. Using exceptions is a more correct way of handling errors.

MsgConvert class is newer (it was added years later after initial MailBee.NET Objects release) and it relies on exceptions only. In older classes, turning off exceptions is not recommended.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
adam.kozovo
Newbie
Newbie


Joined: 30 June 2023
Online Status: Offline
Posts: 19
Posted: 11 July 2023 at 4:16am | IP Logged Quote adam.kozovo

Actually Save/Load return boolean without turning off exceptions, when we use them inside the infamous On error resume next (just don't remove it plz;)

However, there are cases that On error resume next is chosen, in Vb.net still popular, if used, no exceptions and the return value is a gifted legacy helper.

I'm not altering exceptions (turning on or off) just inside On error resume next subs needed it.
Back to Top View adam.kozovo's Profile Search for other posts by adam.kozovo
 

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