How does ASP send an activation email after registration ?, Asp mail
<% Sub Sendemail (title, content, email) Set jmail = Server. createObject ("JMAIL. message ") 'create the email sending object jmail. silent = true' to block exception errors. The return values of FALSE and true are jjmail. logging = true' enable Mail Log jmail. charset = "GB2312" 'the text code of the mail is the National Standard jmail. contentType = "text/html" 'the format of the email is jmail in HTML format. ISOEncodeHeaders = false' indicates whether to perform ISO encoding. The default value is True (this sentence is added) jmail. addRecipient email 'email recipient's address jmail. from = "163@163.com" 'the sender's E-MAIL address jmail. mailServerUserName = "163@163.com" 'the username jmail required to log on to the mail server. mailServerPassword = "11111" 'the password jmail is required to log on to the email server. subject = title 'mail title jmail. body = content 'mail content 'jmail. prority = 1' email Emergency Program, 1 is the fastest, 5 is the slowest, 3 is the default jmail. send ("Smtp.163.com") 'executes the mail sending (via the mail server address) jmail. close () 'Close object End Sub %>