/[projects]/dao/DaoMqPump2/DaoMqPump2/Transport.cs
ViewVC logotype

Diff of /dao/DaoMqPump2/DaoMqPump2/Transport.cs

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

revision 2087 by torben, Wed Nov 27 09:47:46 2013 UTC revision 2088 by torben, Wed Nov 27 14:16:14 2013 UTC
# Line 457  namespace DaoMqPump2 Line 457  namespace DaoMqPump2
457              return now.ToString("s");              return now.ToString("s");
458          }          }
459    
460            /* no used any where used added here for reference/ just in case */
461            private void sendErrorMail(string sub, string msg)
462            {
463                System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();
464                message.To.Add("thn@daoas.dk");
465                message.Subject = "Error from DaoMqPump2: " + sub;
466                message.From = new System.Net.Mail.MailAddress("no-reply@daoas.dk");
467                message.Body = msg;
468    
469                System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("mail.dao.int");
470                smtp.Send(message);
471            }
472    
473          private bool validateSalt2Header(string salt2String)          private bool validateSalt2Header(string salt2String)
474          {          {
475              if (salt2String.Length < 66)              if (salt2String.Length < 66)

Legend:
Removed from v.2087  
changed lines
  Added in v.2088

  ViewVC Help
Powered by ViewVC 1.1.20