测试五环邮箱发送
This commit is contained in:
@@ -184,7 +184,6 @@ namespace BLL
|
|||||||
<tbody>" + tbodyStr.ToString() + "</tbody></table></body></html>";
|
<tbody>" + tbodyStr.ToString() + "</tbody></table></body></html>";
|
||||||
|
|
||||||
mail.Body = bodyStr;
|
mail.Body = bodyStr;
|
||||||
|
|
||||||
bool send = PushEmail(mail);
|
bool send = PushEmail(mail);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -196,6 +195,7 @@ namespace BLL
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
ErrLogInfo.WriteLog("关键事项邮件预警", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -226,6 +226,7 @@ namespace BLL
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
ErrLogInfo.WriteLog("关键事项发送邮件预警", ex);
|
||||||
return false;
|
return false;
|
||||||
//Console.WriteLine("Email sending failed: " + ex.Message);
|
//Console.WriteLine("Email sending failed: " + ex.Message);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
public class NPOIImg
|
||||||
|
{
|
||||||
|
public string SavePath { get; set; }
|
||||||
|
|
||||||
|
public int Row { get; set; }
|
||||||
|
|
||||||
|
public int Col { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user