In the past, the components of others were used, such as Jmail, etc., which were always limited or encountered, and they could not get the final solution when they were restricted and encountered. Now, we have free open. Source code mail sending components, I hope to give you an increase in opportunities and conveniences. Tomorrow Network XINGERASPMAIL 1.0.0.0 Components are email sending components based on the open source of Windows Server COM interfaces with C languages. This component code is easy to understand. This component is copyrighted by Xingworld.Net, please reforillance please a famous source. Main function: Send a message Application range: Any script running on the Windows server, application registration method: Using Regsvr32 xingeraspmail.dll in the directory of the component:
<% '----------------------------------------------- --- 'xingeraspmail.control mail Send Component Example' ----------------------------------- ------------- DIM Xmail, Bret, STRERRORSTRERROR = "" SET Xmail = Server.createObject ("xingeraspmail.control") if isobject (xmail) THEN XMAIL.SMTPHOST = "SMTP.263. NET "'Configuring SMTP Mail Server Xmail.From =" xing@263.net "" mail sender address xmail.fromname = "Liu Qi Xing" "Mail sender name XMail.to =" xing@263.net "Send target Xmail .Subject = "website notice [tomorrow buffet]! '' the message header xmail.IsHtml = true 'message format, whether HTML format xmail.Body =" Dear XX:
hello, "& _ "Here is the notification email issued by " & _ ".
"& _" This mail was sent by "& _" XingerAspMail! " & _ " font>
" xmail.Charset = "gb2312" 'character set, the default is "gb2312" if xmail.Send (strError) then' send mail response.write "accessfully .." else response.write "failed:" & strerror end if else response.write "please register first" end ifset xmail = nothing%> Get C Source Coding and Software Please visit:
http://www.xingworld.net/show.asp?root=3&branch=12&leaf=60&id=4019
If you have any comments or suggestions, please visit the next day (http://xingworld.net), we will answer in a timely manner.