コード例 #1
0
 public static IPostbode UseSendgrid(this IPostbode postbode, string apikey = null)
 {
     postbode.Use(new SendgridDeliveryService(apikey));
     return(postbode);
 }
コード例 #2
0
 public static IPostbode UseMailgun(this IPostbode postbode, string domain = null, string apikey = null)
 {
     return(postbode.Use(new MailgunDeliveryService(domain, apikey)));
 }
コード例 #3
0
 public static IPostbode UseSmtp(this IPostbode postbode)
 {
     postbode.Use(new SmtpDeliveryService());
     return(postbode);
 }