public static IPostbode UseSendgrid(this IPostbode postbode, string apikey = null) { postbode.Use(new SendgridDeliveryService(apikey)); return(postbode); }
public static IPostbode UseMailgun(this IPostbode postbode, string domain = null, string apikey = null) { return(postbode.Use(new MailgunDeliveryService(domain, apikey))); }
public static IPostbode UseSmtp(this IPostbode postbode) { postbode.Use(new SmtpDeliveryService()); return(postbode); }