public static IOptions <EmailOptions> GetOptions(StoresFixture storeFixture, string storeName = null) { return(Options.Create(new EmailOptions { Provider = new EmailProviderOptions { Type = "SendGrid", Parameters = new Dictionary <string, string> { { "Key", storeFixture.SendGridKey }, { "User", storeFixture.SendGridUser }, }, }, TemplateStorage = storeName, DefaultSender = new Internal.EmailAddress { DisplayName = "test user", Email = "*****@*****.**" }, Mockup = new MockupOptions { Disclaimer = "", Exceptions = new MockupExceptionsOptions { Domains = new List <string>(), Emails = new List <string>(), }, Recipients = new List <string>() } })); }
public SendTemplatedTest(StoresFixture fixture) { this.storeFixture = fixture; }
public SendSimpleEmailTest(StoresFixture fixture) { this.storeFixture = fixture; }