Author |
|
adam.kozovo Newbie
Joined: 30 June 2023
Online Status: Offline Posts: 19
|
Posted: 10 July 2023 at 7:27am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 10 July 2023 at 11:55am | IP Logged
|
|
|
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 |
|
|
adam.kozovo Newbie
Joined: 30 June 2023
Online Status: Offline Posts: 19
|
Posted: 11 July 2023 at 4:16am | IP Logged
|
|
|
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 |
|
|