Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > ASP > ASP CDONTS (CDONTS.NewMail) > ASP Sending Mail with CDONTS.NewMail (Reply-To Header)



Clound SSD Virtual Server

ASP Sending Mail with CDONTS.NewMail (Reply-To Header)

ASP Sending Mail with CDONTS.NewMail (Reply-To Header) ทดสอบการส่งอีเมล์และกำหนดในส่วนของ Reply-To ไปกับ Header


IIS SMTP Virtual Server


Syntax

Server.CreateObject("CDONTS.NewMail")



AspCdontsSendMailReplyToHeader.asp

<% Option Explicit %>
<html>
<head>
<title>ThaiCreate.Com ASP CDONTS.NewMail Send Mail</title>
</head>
<body>
<%
	Dim myMail,HTML,strMsg
		
	Set myMail = Server.CreateObject("CDONTS.NewMail")
	
	strMsg = ""
	strMsg = strMsg &"<h1>My Message</h1><br>"
	strMsg = strMsg &"<table width='285' border='1'>"
	strMsg = strMsg &"  <tr>"
	strMsg = strMsg &"	<td><div align='center'><strong>My Message </strong></div></td>"
	strMsg = strMsg &"	<td><div align='center'><font color='red'>My Message</font></div></td>"
	strMsg = strMsg &"	<td><div align='center'><font size='2'>My Message</font></div></td>"
	strMsg = strMsg &"  </tr>"
	strMsg = strMsg &"  <tr>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"  </tr>"
	strMsg = strMsg &"  <tr>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"	<td><div align='center'>My Message</div></td>"
	strMsg = strMsg &"  </tr>"
	strMsg = strMsg &"</table>"

	myMail.From = "Webmaster <[email protected]>"
	myMail.Value("Reply-To") = "[email protected]"
	myMail.To   = "[email protected]"
	myMail.Subject = "My Subject"
	myMail.MailFormat = 0
	myMail.BodyFormat = 0
	myMail.Body = strMsg
		
	myMail.Send

	Response.write ("Mail Sending.")
	Set myMail = Nothing 
%>
</body>
</html>


Screenshot

ASP & CDONTS

ASP & CDONTS






   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2008-10-07 13:06:38 / 2008-12-11 07:16:35
  Download : Download  ASP Sending Mail with CDONTS.NewMail (Reply-To Header)
 Sponsored Links / Related

 
ASP Config CDONTS.NewMail
Rating :

 
ASP Sending Mail with CDONTS.NewMail
Rating :

 
ASP Sending Mail with CDONTS.NewMail (HTML Format)
Rating :

 
ASP Sending Mail with CDONTS.NewMail (Cc and Bcc)
Rating :

 
ASP Sending Mail with CDONTS.NewMail (Attachment File)
Rating :

 
ASP Sending Mail with CDONTS.NewMail (Form Upload & Attach Files)
Rating :

 
ASP Sending Mail with CDONTS.NewMail (Form Upload , Zip & Attach)
Rating :

 
ASP Sending Mail with CDONTS.NewMail (Set Priority)
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 05
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่