macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Why use CDOSYS instead of CFMAIL?

Subject: Why use CDOSYS instead of CFMAIL?
From: "yaf23" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 15:25:48 +0000 (UTC)
Newsgroups: macromedia.coldfusion.advanced_techniques

Hye everyone I wanted to know if you all see any benefits of using CDO for mail 
instead of CFMAIL.  Cross the board the support folks at CrystalTech said use 
CFMAIL (this was after I ran into a little mail problem, in that my mail wasn't 
being sent out fast enough) but one suggested  using CDO like this, from the 
way they put it CFMAIL will send through this object but is this normal or 
could this potentially be a problem later on.  Personally I have never heard 
about this but wanted to know what you folks think.

 When I tried both for some reason the CDO method got to my mailbox faster than 
CFMAIL after about 25 runs each but that could just be server traffic at the 
time maybe.

 Any thoughts.  I wanted to use one of the methods for a Online store that I am 
building in which the order receipt goes to the store for processing and also 
one goes to the customers.  But the one to the store is extremely time 
senstitive.  If you have a suggestion on that as well that would be great.

 This will allow CFmail to be sent through CDO.

 <CFOBJECT ACTION="Create" TYPE="COM" CLASS=CDO.Message NAME="Mail">
 <CFSET Mail.To="user@xxxxxxxxxx">
 <CFSET Mail.From="user@xxxxxxxxxx">
 <CFSET Mail.Subject="subject of email" >
 <CFSET ThisMessage="Email message" >
 <CFSET Mail.HTMLBody="body of the email">
 <CFSET temp=Mail.Send()>



<Prev in Thread] Current Thread [Next in Thread>