<%@ language="VBSCRIPT" %> contact us <% if Request.Form("txt_user")<>"" and Request.Form("txt_email")<>"" and Request.Form("txt_subject")<>"" then 'Dimension variables Dim objCDOMail 'Holds the CDONTS NewMail Object 'Create the e-mail server object Set objCDOMail = Server.CreateObject("CDONTS.NewMail") 'Who the e-mail is from objCDOMail.From = Request.Form("txt_email") 'Who the e-mail is sent to 'objCDOMail.To = "sales@mm-nn.com" objCDOMail.To = "thargaung@gmail.com" 'Who the carbon copies are sent to 'objCDOMail.Cc = "myFriend1@thereDomain.com;myFriend2@anotherDomain.com" 'Who the blind copies are sent to 'objCDOMail.Bcc = "myFriend1@thereDomain.com;myFriend2@anotherDomain.com" 'Set the subject of the e-mail objCDOMail.Subject = "Contact us from website"&Request.Form("txt_subject") 'Set the e-mail body format (0=HTML 1=Text) objCDOMail.BodyFormat = 0 'Set the mail format (0=MIME 1=Text) objCDOMail.MailFormat = 0 'Set the main body of the e-mail objCDOMail.Body=""&_ ""&_ ""&_ ""&_ ""&_ "
Name"&Request.Form("txt_user")&" "&Request.Form("txt_lastname")&"
Email"&Request.Form("txt_email")&"
Telephone"&Request.Form("txt_tel")&"
Subject"&Request.Form("txt_subject")&"
Message"&Request.Form("txt_message")&"
" 'Importance of the e-mail (0=Low, 1=Normal, 2=High) objCDOMail.Importance = 1 'Send the e-mail objCDOMail.Send 'Close the server object Set objCDOMail = Nothing Response.Redirect("contact.asp?status=success") End if %>
 
 
 
 



<%if Request.QueryString("status")="success" then %>Successfully!<%else%>Please fill in this form<%end if%>
Name
Last name
email
Tel
subject
message
        

required

 
 
 
MM & NN co.,ltd.

678/8 Suksawat29,Ratburana
Bangkok10140 Thailand
Tel:662 871 2520
fax:662 871 2522
Click to see Map

  e-mail: sales@mm-nn.com