Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decoding HTML for CDO delivery

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
Been looking for a while for this one.

I have some html in a table that i need to send out by email through cdo. HTML Looks like this:

Code:
<p>This is a test to see the sort of content one can include in the email send field.</p><p>Paragraph breaks and all.</p>

How can I decode it so it sends out a pretty HTML email that doesn't look like this? I've looked at some of the HTML and URLDecoding functions, but nothing seems to have any effect.

Code:
<p>This is a test to see the sort of content one can include in the email send field.</p><p>Paragraph breaks and all.</p>
 
Yeah, I'm trying to go the other way. Decoding rather than encoding. The text is encoded in the db. The html email won't render the html like the browser does. Shows the tags like in the second code example.

I found a post/function by Damber that helped:
Works when using cdo htmlsend
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top