I want to send some emails with php mail function, the email contains html tags, I want the tags to show as part of the text on the email clients and not interpreted by th eemail client. Can anyone tell me how to do this? Thanks
Just send a normal HTML email and enclose the tags that you want to be displayed as tags in <pre> .... </pre>
Well, you shouldn't even have to do that, as PHP only sends text based mail unless you tell it to send HTML mail with additional MIME types.
Some email clients will interpret the HTML even with out the correct MIMe type. YOu could also use php´s htmlspecialchars() to make the HTML visible.