Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: SmtpMessageNotSentEventHandler question Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pevrard
Newbie
Newbie


Joined: 03 November 2008
Location: Belgium
Online Status: Offline
Posts: 9
Posted: 08 June 2010 at 9:09am | IP Logged Quote pevrard

Hello,

Is this event always fired even in case of exception (particularly timeout exception during smtp.send() operation) or the exception prevent the event?

Thanks in advance

Pierre
Back to Top View pevrard's Profile Search for other posts by pevrard
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6094
Posted: 09 June 2010 at 3:58am | IP Logged Quote Igor

It can be either event or exception, not both. This would depend on particular situation, the idea is simple though: if you request multiple operations to be performed, like doing a mail merge, then failure of one of those operations will trigger the event. For regular send (one operation requested), exception will be thrown.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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