Mega Code Archive

 
Categories / Delphi / LAN Web TCP
 

Create html mail and send it through default email client

Title: create html mail and send it through default email client {--------------------------------------------------------------------- just try to save web page to file as .mht and then change the ".mht" extension to ".eml" and double click :)) YOU GET THE POINT!!! Open this file in Notepad and after Content-type parameter put: X-Priority: 3 X-MSMail-Priority: Normal X-Unsent: 1 save it and again double click...now email is in edit mode :)) You can use this trick to create temporrary .eml file and open it with ShellExecute. Offcourse... mail should be oppened in default mail client. ---------------------------------------------------------------------}