public TransformEml(string strHtmlPath, string strEmlPath) { this._EmlHead = new EMLHEAD(); this.Tostr = new string[][] { new string[] { "发件人:", "日期:", "收件人:", "主题:" }, new string[] { "From:<", "Date:<", "To:<", "Subject:<" } }; this._strHtmlPath = strHtmlPath; this._strEmlPath = strEmlPath; this._AnnexQueue = new Queue(); }
public TransformEml(MailMessage msg, string emlFileAbsolutePath) { this._EmlHead = new EMLHEAD(); this.Tostr = new string[][] { new string[] { "发件人:", "日期:", "收件人:", "主题:" }, new string[] { "From:<", "Date:<", "To:<", "Subject:<" } }; SaveToEml(msg, emlFileAbsolutePath); }