Hi Guys
Just running a test withthe new SMTPClient and found this:
SMTPClient.Message.Reset() does not clear the HTMLBody string
If you then try and send a Text only message setting the TextBody, when you send the email it goes withthe previous HTML Body content and not the Text Content!
Theres a simple work around, but has anyone else seen/reported this?
Cheers
David
I'm not quite sure why the Body contents needs to be in 2 separate boxes. I would have used 1 box and a boolean for HTML. The issue is not just the Reset, but also if you set the HTML and then the Text the HTML overrides the Text. If you are going to have 2 boxes for the same type of content that is mutually exclusive then it needs to clear the alternate one when you set the other.
Just my thoughts.
All the best
David