コード例 #1
0
ファイル: NotifyTests.cs プロジェクト: sanjaybxl/inform
 public void Notify_ByEmail()
 {
     try
     {
         var toEmails  = new string[] { "*****@*****.**", "*****@*****.**" };
         var ccEmails  = new string[] { "*****@*****.**", "*****@*****.**" };
         var bccEmails = new string[] { "*****@*****.**", "*****@*****.**" };
         var subject   = "Sample test";
         var body      = "Welcome Notification";
         Notify.ByEmail(toEmails, ccEmails, bccEmails, subject, body);
     }
     catch (Exception exception)
     {
         Assert.Fail(exception.Message);
     }
 }