i don't know if that's entirely correct.  is ASP more efficient at 
creating/manipulating objects than CF?  that's all the calls do, at the base level.

christopher olive
cto, vp of web development, vp it security
atnet solutions, inc.
410.931.4092
http://www.atnetsolutions.com


-----Original Message-----
From: Dina Hess [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 12:30 PM
To: CF-Talk
Subject: REPOST: Re: CDONTS and ReplyTo


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

  

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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

Reply via email to