-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: dnr25
Message 1 in Discussion
I have a feedback form in which i have put javascript to ensure that none of
the fields kept blank. Though I am getting blank mails as shown below. What cud
be the reason?
------------------------------------------------------------------------------------------------------
Sub: Feedback / Contact us Form
Name :-
Email :-
City :-
Phone :-
Comments :-
--------------------------------------------------------------------------------------------------------
My code is as below: <%@ Language=VBScript %>
<HTML>
<HEAD>
<TITLE>Feedback Page</TITLE>
</HEAD>
<BODY>
<%
nm=trim(Request.Form("name"))
eml=trim(Request.Form("email"))
ct=trim(Request.Form("city"))
ph=trim(Request.Form("phone"))
comts=trim(Request.Form("comments")) HTML="<P align=left><FONT face=arial
size=2>" &_
"<u><b>Sub: Feedback / Contact us Form</b></u>"&_
"<br><br> Name :- " & nm &_
"<br><br> Email :- " & eml &_
"<br><br> City :- " & ct &_
"<br><br> Phone :- " & ph &_
""& vbNewLine & "<br><br> Comments :- " & comts &_
"</FONT></P>"
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "xxx.com"
Mail.From = "[EMAIL PROTECTED]"
Mail.FromName = "" & nm
Mail.IsHTML = true
Mail.Priority=3
Mail.AddAddress "" & application("email1")
Mail.AddAddress "" & application("email2") Mail.AddAddress "" &
application("email3")
if eml<>"" then
Mail.AddReplyTo "" & eml, nm
end if
Mail.Subject = "FeedBack or Contact Form for Abodesindia.com"
Mail.Body = HTML
Mail.Send
set Mail = NOTHING
%>
<P align = justify><FONT face=verdana,Arial size=2><b>Thank you for your
comments and feedback. Our representative will call on you shortly.</b></font>
</P>
<br><br>
</BODY>
</HTML>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]