Recommended: ASP implemented calendar code instance program The following is the quoted content: <style> td { font-family: font-size:9pt} </style> <body bgcolor=
| The following is the quoted content: <% dim objCDOMail Set objCDOMail = Server.CreateObject(CDONTS.NewMail) objCDOMail.From [email protected] objCDOMail.To [email protected] 'The recipient's email (send the form content to a fixed address) objCDOMail.Subject = Mail Send Test body=request.Form(cont) 'get form content objCDOMail.Body =body objCDOMail.BodyFormat=1 'Set to HTML format objCDOMail.Send Set objCDOMail = Nothing %> |
---------------------------------------------------------------
Add the above code before depositing it into the database, and all the stored values into the database are assigned to Mail.Body. This is the content of the email sent!
Share: Examples of ASP Basic Tutorial Learning ASP Response Objects The ASP Response object is used to send output results from the server to the user. Examples Use ASP to write text This example demonstrates how to use ASP to write text. The following is the quoted content: <html><