| Author | 
         | 
         
      
        
         
         andyfensham Newbie 
          
  
  Joined: 08 April 2014 Location: South Africa
 Online Status: Offline Posts: 1
          | 
        
         
          
           | Posted: 08 April 2014 at 7:19am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi,
 
 How do I use the SmtpMessageNotSentEventHandler and SmtpMessageNotSentEventHandler in Mailbee Message Queue.
 
 I am storing my emails in a database, and want to mark the specific emails as sent or failed in the database after submitting it to a folder for mailbee message queue to pick up.
 
 Thanks
 
 Andy
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 08 April 2014 at 8:22am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
It looks like you're actually using MailBee.NET Queue rather than MMQ. To use those handlers, you need to subscribe to Smtp.MessageSent and Smtp.MessageNotSent events, respectively.
 
 --
 Regards,
 Igor, AfterLogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |