Dear All ,
contact us form i desinged with html .but how can i send the user details as a mail .please am posting my html code .please help me ..
just am using simple html ..
not asp.net ..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 9, 2016, 10:51 PM EDT
Are you using any codelogic implementation using C# or PHP?
<%
Dim HTML
Set myMail = CreateObject("CDONTS.NewMail")
HTML = HTML & ""
HTML = HTML & ""
HTML = HTML & " HTML = HTML & "content=""text/html; charset=iso-8859-1"">"
HTML = HTML & " HTML = HTML & " content=""Microsoft Visual Studio 6.0"">"
HTML = HTML & "
HTML = HTML & ""
HTML = HTML & ""
HTML = HTML & "
HTML = HTML & "images/gifs/homepage/microsoft.gif"" BORDER=0 "
HTML = HTML & "WIDTH=167 HEIGHT=36 ALT=""Microsoft Corporation"">"
HTML = HTML & "
"
"HTML = HTML & "Microsoft Exchange CDONTS Example
HTML = HTML & "
"
"HTML = HTML & "CDO for NTS allows an easy way to send mail.
"
HTML = HTML & "This example shows how the content can be "
HTML = HTML & "an HTML page
"
HTML = HTML & "which allows you to send rich text and"
HTML = HTML & "inline graphics.
HTML = HTML & ""
HTML = HTML & ""
myMail.To="[email protected]"
myMail.Subject="Sample CDONTS HTML Message"
myMail.BodyFormat=0
myMail.MailFormat=0
myMail.Body=HTML
myMail.Send
set mymail=nothing
Response.Write "Message Sent"
%>