cartomatic / MapHive.Server2

Other
0 stars 0 forks source link

emails - broken html #14

Closed mika666 closed 5 years ago

mika666 commented 6 years ago

not sure what happened - maybe net core smtp client is broken. basically ms says in docu smt client is obsolete and they suggest using mailkit https://dotnetcoretutorials.com/2017/11/02/using-mailkit-send-receive-email-asp-net-core/

mika666 commented 5 years ago

fixed. was not really caused by the faulty net smtp client, but rather by the fact info on whether or not an email was a html body email was not extracted properly... duh...

but got a new email sender that uses a new cartomatic.utils.email.IEmailSender interface and is injectable into maphive core logic. So basically got rid of a dependancy which is good ;)