Im using the Microsoft XML component to retrieve the source code for certain pages on our website. We have email templates setup on our site, and then we can get the content from any where on our site to send as an email.
When the mail is being sent in HTML format this is fine, it looks perfect. However when its in plain text i run a bit of code that removes all tags such as <br> <html> etc etc.....The one thing this doesnt remove is all occurences of special characters such as vbCrLf,vbTab,VbCr,VbLf.
I could do this using 4 replace statements but there must be somesort of function that i can call once that will replace them with predefined values...
Any ideas anyone??
Thanks in advance