Download the Jmail component online and install. Locate the Jmail.dll file in this path of Program Files / Dimac / W3Jmail4, which is incorporated in .NET development environment. Below you can start programming. What I have to write now is how to embed a web page into the message, that is, I will show it in a text. This is what I have been working for a long time, and there is very little online. There are not many other words. A lot of online. Jmail.Message Jmail = new jmail.Message (); string subject = "This is the first email I sent"; string windmail = "laihua0316@163.com"; string toemail = "laihua0316@163.com"; Jmail .Silent = true; jmail.logging = true; jmail.contenttype = "text / html"; jmail.addrecipient (toemail, "," ""; jmail.addrecipientcc ("laihua0316@163.com", "harry", ""); // Cc, jmail.addrecipientBCC ("laihua0316@163.com", "harry", ""); // secret Jmail.From = Fromemail; jmail.mailserverusername = "laihua0316"; // username Jmail.mailServerPassword = ******; // password jmail.subject = Subject; jmail.addattachment ("c: //1.txt", false, "text / html"); // Annex jmail.getMessageBodyFromurl "http://hellen/oa/rpt_everyemp.aspx", ""); // The key is this sentence. This sentence is the function I want to say today. The back parameters are prior, representative if this page is to be verified, the format is: "Username: password" jmail.send ("smtp.163.com", false; jmail.close (); but in Traditional The mail seen in the system will have garbled. If Web.config changes UTF-8 to GB2312, it will be less. This issue is also tracked. However, the function is achieved. I hope to help those friends who need this information.