smtp exception Failure sending mail?

前端 未结 5 512
灰色年华
灰色年华 2021-01-05 01:03
StringBuilder emailMessage = new StringBuilder();
emailMessage.Append(\"Dear Payment Team ,\");
emailMessage.Append(\"

Please find the Payment ins
5条回答
  •  悲哀的现实
    2021-01-05 01:27

    I suggest you the simplest way to send email on exception - using Elmah. Please follow this guide line for the solution: https://www.stormconsultancy.co.uk/blog/development/tools-plugins/setup-email-alerts-from-elmah-when-exceptions-are-raised/

提交回复
热议问题