public void SendTest_SentToAddress() { var sender = new MandrillMailSender("enter your key", null); sender.Send( new MailAttributes() { To = new List<MailAddress>() { new MailAddress("*****@*****.**") }, Subject = "test", Body = "test body", From = new MailAddress("your email", "name") }); }
public void SendTest_SentToAddress() { var sender = new MandrillMailSender("enter your key", null); sender.Send( new MailAttributes() { To = new List <MailAddress>() { new MailAddress("*****@*****.**") }, Subject = "test", Body = "test body", From = new MailAddress("your email", "name") }); }
public UserMailer() { MailSender = new MandrillMailSender(); }