On 2012-06-06, Pankaj C wrote: > I want to be able to specify multiple smtp server host addresses and > implement a logic whereby if email using one smtp server fails, it tries to > send using the next smtp server address. Is it possible using log4net. Can > we override something and implement our own logic?
It is not that simple, party because we have to support two different mail APIs for 1.x and later. You can override SmtpAppender's SendEmail method but will have to duplicate quite a bit of the existing code. Stefan