<% if Request.Form("sub")="Submit" then dat=formatdatetime(date,1) tim=time() name=Request.Form("nam") company=Request.Form("company") profession=Request.Form("profession") address=Request.Form("address") city=Request.Form("city") state=Request.Form("state") country=Request.Form("country") pin=Request.Form("pin") email=Request.Form("email") teloff=Request.Form("teloff") telres=Request.Form("telres") clari=Request.Form("clari") if instr(1, email, "@") > 1 and instr(1, email, ".") > 2 then mailtext = "" mailtext = mailtext + "
This is to inform you that the following Feedback has been submitted at your site.
The Feedback was posted on " & dat & ", " & tim & "

" mailtext = mailtext + "
Feedback
" mailtext = mailtext + "
Name : " & name mailtext = mailtext + "
Designation : " & profession mailtext = mailtext + "
Company : " & company mailtext = mailtext + "
Address : " & address mailtext = mailtext + "
City : " & city mailtext = mailtext + "
State : " & state mailtext = mailtext + "
Country : " & country mailtext = mailtext + "
Pin : " & pin mailtext = mailtext + "
Email : " & email & "" mailtext = mailtext + "
Telephone (Office) : " & teloff mailtext = mailtext + "
Telephone (residence) : " & telres mailtext = mailtext + "

Comments / Query :
" & clari & "" Set Mail = Server.CreateObject("Persits.MailSender") Mail.Host = "localhost" ' Specify a valid SMTP server Mail.From = "postmaster@nipmkerala.org" ' Specify sender's address Mail.FromName = "postmaster@nipmkerala.org" ' Specify sender's name Mail.IsHTML = true Mail.AddAddress "feedback@nipmkerala.org" Mail.AddReplyTo email Mail.Subject = "Feedback from your site: www.nipmkerala.org" Mail.Body = mailtext On Error Resume Next Mail.Send If Err <> 0 Then session("message")="Your feedback could not be sent because the mailserver is down.
Please send your comments/queries after some time." else response.redirect "direct.htm" End If set mail = nothing else session("message")="Invalid email id! Your feedback could not be sent.
Please specify a valid email id." end if end if %>

Back to Home

 Suggestion Box  


Please drop your valuable suggestions and submit the form below with your details.
<%=session("message")%><%session("message")=""%>
[ Those marked with ' * ' are mandatory. ]
Name*
Membership No:
Company/Organisation
Postal Address*
City*
State*
Country*
Pin*
E-mail*
Phone
Off Res
Suggestion Box *


National Institute of Personnel Management
Kerala Chapter
II nd Floor, Mather Square
Near North Railway Station, Cochin - 682018
Phone : 0484 - 393489