i have made very simple FORM ( what i have i will explain you )
i created 2 input boxes 1 button
FIRST INPUT BOX VARIABLE IS NAME
SECOND INPUT BOX VARIABLE IS LAST NAME
BUTTON NAME IS SEND MAIL
NOW MY I STRUCK IN ASP PLZ HELP ( I HAVE MY ASP HOSTING )
IAM SENDING YOU THE CODE OF ASP ( PLZ CORRECT ME IF IAM WRONG ) PLZ HELP ME IN THIS PLZ ! THANK YOU !
<%
Name = Request.form(“name”)
lastName= Request.form(“lastname”)
strName = “me” ’ this is for my own name
strEmail = “me@abc.com” ’ this is for my own e-mail
strSubject = “hi there how are you!” ’ this is for my own subject message
strBody = ToComments & HearAbout & Company
Set Mailer = Server.CreateObject(“SMTPsvg.Mailer”)
Mailer.RemoteHost = “mail.mydomain.com” ’ this is for my domain
Mailer.FromName =name
Mailer.FromAddress =lastname
Mailer.AddRecipient strName, strEmail
Mailer.Subject = (strSubject)
Mailer.BodyText = strBody
%>
please help me in this plz thank you !!