seq-app-htmlemail icon indicating copy to clipboard operation
seq-app-htmlemail copied to clipboard

Legacy Formatted Email

Open jhogan12-lab opened this issue 2 years ago • 1 comments

Hello,

I am attempting to use the HTML email package in Seq. For some reason, we cannot get our certificates correct and are thrown a lot of errors no matter what host or port to which we point. So, we are using the Formatted Email, the old "version" of HTML email. This one works like a charm, but we would like to customize the email body. I've tried many mustache bracket combinations to no avail but my data shows up blank in my email. Would you be willing to provide the old version of the default body template? This would help me greatly. I've been looking online but cannot find it anywhere. If I had it, I could likely tweak it to fit our needs.

Thanks!

jhogan12-lab avatar Jun 20 '23 02:06 jhogan12-lab

Hi! Thanks for your message. The old app dynamically created the template based on the incoming event:

https://github.com/datalust/seq-app-htmlemail/blob/b6175e5c1f6828910f655156513cf4b592fa2f7e/src/Seq.App.Email/EmailReactor.cs#L96

Unfortunately this can't be reproduced via the BodyTemplate - forking the old app and rebuilding it would be the only way to tweak it I think.

Do you need a hand figuring out the certificate errors from the HTML email app? Feel free to shoot us some details via support@ if so.

Hope this helps, Nick

nblumhardt avatar Jun 20 '23 03:06 nblumhardt