Actually, why don't you just use an ASP page to send your mail via CDONTS rather than
going thru the CF Server? It should be more efficient since CDONTS is intrinsic to
IIS. My 2 cents.
Your page would then be similar to this:
'-----Send Email----------------------------
dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
If err.number>0 then%>
<b>Error Occured: </b><BR>
Error Number=<%=err.number%><br>
Error Descr<%=err.description%><br>
Help Context=<%=err.helpcontext%><br>
Help Path=<%=err.helppath%><br>
Native Error=<%=err.nativeerror%><br>
Source=<%=err.source%><br><P>
<%
Else
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.From = strEmail
objMail.To = strToEmail
objMail.Subject = "Contact Form from " & strName
objMail.Body = strContents
objMail.Send
Set objMail = Nothing
End If
%>
----- Original Message -----
From: Dave Jones
To: CF-Talk
Sent: Thursday, March 28, 2002 11:29 AM
Subject: CDONTS and ReplyTo
Can someone tell me how to set the Reply-To header when using
CDONTS in ColdFusion? These assignments do NOT work:
<cfset objNewMail.ReplyTo = "[EMAIL PROTECTED]">
<cfset objNewMail.Reply_To = "[EMAIL PROTECTED]">
<cfset objNewMail.Value("Reply-To") = "[EMAIL PROTECTED]">
Thanks,
Dave Jones
NetEffect
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists