I need to send a rich formated html with lots of css in it.. The problem with mail is that only inline css works.. and i can use that for some part of the mail. the rest is in need to highlight some codes.. which changes for every email.. what i need is some syntax highlighter that can really glow the different codes like c, c++, java, php etc with syntax colors. And i need to do that in php. What is the best server side syntax highlighter can be used.
Or else is there anyway to email a webpage completely with full css support.
Check this out: http://www.sitepoint.com/highlight-source-code-php/