ExceptionReporter.NET icon indicating copy to clipboard operation
ExceptionReporter.NET copied to clipboard

Proposal: Allow to change EmailIntroTemplate.text

Open makeProjectGreatAgain opened this issue 5 years ago • 1 comments

If you use config with ReportCustomTemplate

Config =
{
	AppName = "PhotoFuzz",
	AppVersion = "1.0",
	CompanyName = "photofuzz",
	SendMethod = ReportSendMethod.SimpleMAPI,
	EmailReportAddress = "[email protected]",
        FilesToAttach = new[] {"app.log"}
        ReportCustomTemplate = "_NOT IN ENGLISH_",
}

and press send an email, the email message is

The email is ready to be sent. Information about the error is included below. Please feel free to add any relevant information or attach additional files. You may delete the attachment before sending if you prefer. NOT IN ENGLISH


Proposal:

  • Allow users to change EmailIntroTemplate.text ( for example, don't make templates as Embded resources ) or
  • Do not start message with The email is ready to be sent... if ReportCustomTemplate is not empty

makeProjectGreatAgain avatar Oct 25 '20 11:10 makeProjectGreatAgain

Thank you, yes, the report templates were built without any localization in mind and needs to cater for it

PandaWood avatar Nov 11 '20 01:11 PandaWood