Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 19th, 2005, 03:09 PM
Authorized User
 
Join Date: Feb 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reply-To option in CDO?

CDONTS offers a "Reply-To" option. Does CDO offer the same?

CDONTS Example:

Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = trim(request.form("Email"))
objCDO.From = trim(request.form("From"))
objCDO.Value("Reply-To") = trim(request.form("ReplyTo"))
objCDO.Subject = trim(request.form("Subject"))
objCDO.Body = trim(request.form("Message"))
objCDO.Send

CDO Example:

Set myMail=CreateObject("CDO.Message")
myMail.Subject = trim(request.form("Subject"))
myMail.From = trim(request.form("From"))
myMail.To = trim(request.form("Email"))
myMail.TextBody = trim(request.form("Message"))
myMail.Send

...Any help would be greatly appreciated!

__________________________________________________ _____________

Confidence is what you feel when you do not truly understand the situation.
__________________
__________________________________________________ _____________

Confidence is what you feel when you do not truly understand the situation.





Similar Threads
Thread Thread Starter Forum Replies Last Post
REPLY rohi_101 General .NET 0 December 5th, 2008 06:50 AM
Create Check Boxes/Option buttons/Option Group hewstone999 Access VBA 1 March 14th, 2008 07:25 AM
how to delete a reply arun.sharma.kumar Visual C++ 0 February 21st, 2007 04:58 AM
Please reply me urgently! m_o_o_n Pro JSP 0 April 4th, 2006 06:49 AM
Santhi thanks for your reply but.. steeve_1001 HTML Code Clinic 1 March 16th, 2005 11:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.