Reputation: 1221
I creating HTML email but i need to send some html code without rendering (because this code for user he can copy and paste the code on there website)
i need to send this code without rendering on html email, i tried code and pre tags but no luck
<a href="###"><img src="####" width="300" height="250" border="0" alt="####/><br />Watch Local Cam</a>
is there any way to do this
Upvotes: 0
Views: 106
Reputation: 5239
try using Multipart/Related along with boundaries, and have the plain text part as type 'text' and the other as html where you need formatting.
Upvotes: 0
Reputation: 97672
Try html encoding it
<a href="###"><img src="####" width="300" height="250" border="0" alt="####/><br />Watch Local Cam</a>
<a href="###"><img src="####" width="300" height="250" border="0" alt="####/><br />Watch Local Cam</a>
Upvotes: 1
Reputation: 11430
Try sending the email as plain text, no rich text or HTML. Otherwise, save it as an HTML file and add it as an attachment.
Upvotes: 0