Order NOW! : Special Price home products&services support company info contact us FAQ
 
 
 
 

Documentation
Win 2003
  ASP Scripts & Resources > Sent E-mail with CDO
 
 

ตัวอย่างสคริปต์แบบ CDO

  Mail Script and Confirmation Page : sendmail.asp
 
sTo = "support@abcd1234.com"
sFrom = Trim(Request.Form("txtFrom"))
sSubject = Trim(Request.Form("txtSubject"))
sMailServer = "127.0.0.1"
sBody = Trim(Request.Form("txtBody"))

if Request("__action")="TestEMail" then
TestEMail()
end if

Sub TestEMail()

Set objMail = Server.CreateObject("CDO.Message")
Set objConf = Server.CreateObject("CDO.Configuration")
Set objFields = objConf.Fields
 

 

  ไฟล์ตัวอย่างสคริปต์ สามารถ FTP ดาวน์โหลดได้ที่
httpdocs/test/asp/test_mail.asp
   
  คลิกดูตัวอย่าง Demo
   
 
  Back
รีบค้นหาชื่อที่ต้องการด่วน ก่อนที่จะมี
ผู้อื่นจดชื่อของท่านไปเสียก่อน
www.
Web Hosting

สำหรับองค์กรที่มี Website อยู่แล้ว
และกำลังต้องการลดค่าใช้จ่าย หรือผู้ที่
กำลังจะเข้าสู่โลก Internet แต่ยังขาด
ข้อมูลและผู้ให้คำปรึกษา เราขอเสนอ
Package ที่คุ้มค่าที่สุดพร้อมคำแนะนำ
อย่างมืออาชีพ เพื่อให้การจัดเก็บและ
แก้ไขข้อมูล ทำได้อย่างสะดวก รวดเร็ว

   
 

 
 
Copyright ©2001. Thaisite.net All Rights Reserved. a service from Asiaweb Co., Ltd.