Exemple #1
0
 /// <summary>
 /// 表示是TOOL Exception
 /// Initializes a new instance of the <see cref="ExceptionMail"/> class.
 /// </summary>
 /// <param name="ex">The ex.</param>
 /// <param name="account">The account.</param>
 /// <param name="input">The input.</param>
 public AbstractExceptionMail(Exception ex, string input = "")
     : base(BaseHtmlSmtpMail.GenMailObjByAppConfig())
 {
     this._mailType = MailType.Tool;
     this._ex       = ex;
     this._input    = input;
 }
Exemple #2
0
 /// <summary>
 /// 表示是WEB Exception
 /// Initializes a new instance of the <see cref="ExceptionMail"/> class.
 /// </summary>
 /// <param name="ex">The ex.</param>
 /// <param name="account">The account.</param>
 /// <param name="ctx">The CTX.</param>
 /// <param name="input">The input.</param>
 public AbstractExceptionMail(Exception ex, string account, HttpContext ctx, string input = "")
     : base(BaseHtmlSmtpMail.GenMailObjByAppConfig())
 {
     this._mailType = MailType.Web;
     this._ex       = ex;
     this._account  = account;
     this._ctx      = ctx;
     this._input    = input;
 }
Exemple #3
0
 public AbstractGitCommandLogMail(GitCommandLog gitCommandLog)
     : base(BaseHtmlSmtpMail.GenMailObjByAppConfig())
 {
     this._gitCommandLog = gitCommandLog;
 }