コード例 #1
0
 public void SendTo(List <string> to)
 {
     foreach (string receipient in to)
     {
         Sendmail.Send(receipient, "Z3 Alerts", ReportTextHTML, null, _images, true);
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: zeromorphism/z3test
        static void Main(string[] args)
        {
            try
            {
                Configuration c = new Configuration("config.xml");

                Sendmail.Send(c.developers,
                              "Build failed at Windows (x86/x64)",
                              "The build failed; please check the attached logfile for errors.",
                              c.build_log);
            }
            catch (Exception ex)
            {
                Console.Out.WriteLine("Exception: " + ex.Message);
            }
        }