Hi Everyone,
I am facing problem in asp form. I have a own windows 2003 server and where I setup so many domain, but there is no any asp form is running. I have tried a lot but still in trouble. Actually we are using CDOSYS component for sending mail to diffrent e-mail ID.
See this form: http://nntek.com/contact1.shtml
I am using the bellow mention code for sending the mail through CDOSYS component.
*************************************************
<%
fname=request.Form("fname")
lname=request.Form("lname")
phone=request.Form("phone")
email=request.Form("email")
country=request.Form("country")
category=request.Form("category")
comments=request.Form("comments")
pagecode="<table width='372' border='1' bgcolor='#f8fceb' align='center' bordercolor='#bcdb50' cellpadding='5' cellspacing='0'>"
pagecode=pagecode&"<tr bgcolor='#bcdb50'>"
pagecode=pagecode&"<td colspan='2'><div align='center'><strong><font color='#f8fceb'>"
pagecode=pagecode& "Contact us mail from NNTEK</font></strong></div></td>"
pagecode=pagecode&"</tr><tr><strong><font color='#bcdb50'><td width='163'><b> First Name:</b></td><td width='193'>"
pagecode=pagecode& fname
pagecode=pagecode&"</tr><tr><strong><font color='#bcdb50'><td width='163'><b> Last Name:</b></td><td width='193'>"
pagecode=pagecode& lname
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td><strong>Phone:<br></strong></td><td>"
pagecode=pagecode& phone
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td><strong>Email:<br></strong></td><td>"
pagecode=pagecode& email
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td><strong>Date:<br></strong></td><td>"
pagecode=pagecode& country
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td><strong>Feedback:<br></strong></td><td>"
pagecode=pagecode& category
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td><strong>Feedback:<br></strong></td><td>"
pagecode=pagecode& comments
pagecode=pagecode&"</td></font></strong></tr><tr><strong><font color='#bcdb50'><td></td><td></td></font></strong></tr></table>"
set objSendMail2=CreateObject("CDOSYS.NewMail")
objSendMail2.From=email
objSendMail2.To="
[email protected]"
if not len(bcc_mail)=0 then
objSendMail2.bcc=bcc_mail
end if
objSendMail2.BodyFormat=0
objSendMail2.MailFormat=0
objSendMail2.Importance=2
objSendMail2.Subject="Contact us mail from NNTEK"
objSendMail2.Body=pagecode
objSendMail2.Send
set objSendMail2=Nothing
response.Redirect("thanksemail1.shtml")
%>
*************************************************
So pls solve our problem ASAP.
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).