/[projects]/dao/DaoMqPump2/DaoCommon/DaoUtil.cs
ViewVC logotype

Diff of /dao/DaoMqPump2/DaoCommon/DaoUtil.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2166 by torben, Fri May 16 18:24:05 2014 UTC revision 2169 by torben, Fri May 16 21:10:02 2014 UTC
# Line 7  namespace DaoCommon Line 7  namespace DaoCommon
7      public class DaoUtil      public class DaoUtil
8      {      {
9    
         public static string getNowString()  
         {  
             DateTime now = DateTime.Now;  
10    
11              return now.ToString("s");  
12          }  
13    
14          /* no used any where used added here for reference/ just in case */          /* no used any where used added here for reference/ just in case */
15          private void sendErrorMail(string sub, string msg)          private void sendErrorMail(string sub, string msg)
# Line 26  namespace DaoCommon Line 23  namespace DaoCommon
23              System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("mail.dao.int");              System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("mail.dao.int");
24              smtp.Send(message);              smtp.Send(message);
25          }          }
26    
27    
28    
29    
30      }      }
31  }  }

Legend:
Removed from v.2166  
changed lines
  Added in v.2169

  ViewVC Help
Powered by ViewVC 1.1.20