public static SmtpMailer Instance(Configuration configuration)
 {
     _mailSettings = configuration.GetSectionGroup("system.net/mailSettings") as MailSettingsSectionGroup;
     return(_instance ?? (_instance = new SmtpMailer()));
 }
Example #2
0
 public static SmtpMailer Instance()
 {
     return(_instance ?? (_instance = new SmtpMailer()));
 }
Example #3
0
 public static SmtpMailer Instance()
 {
     return _instance ?? (_instance = new SmtpMailer());
 }
Example #4
0
 public static SmtpMailer Instance(Configuration configuration)
 {
     _mailSettings = configuration.GetSectionGroup("system.net/mailSettings") as MailSettingsSectionGroup;
     return _instance ?? (_instance = new SmtpMailer());
 }