The real question here wasn't whether CFMAIL was the best tag written, but
rather that it's the easiest to explain to a layman-level customer.

Show them the code example provided below then show them the CFMAIL
equivalent of your example.  Very quickly the customer can see that it's
going to be easier and faster to code their application, easier to maintain
(perhaps even on their own) yet provides all the functionality of other
programs.  If you're not a CFMAIL fan, use CFQUERY... the point is the
same... simplicity in coding makes for faster coding.

--Doug

-----Original Message-----
From: Heath Lord [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 7:47 AM
To: CF-Talk
Subject: RE: performance white papers


I beg to differ.

Using the CFMAILPARAM in 4.5, you can send multiple attachments and custom
header information.

<cfmail to="" from="" subject="">
<cfmailparam name="header-name" value="header-value">
</cfmail>

Heath

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 10:46 AM
To: CF-Talk
Subject: RE: performance white papers


> For the uninitiated, how (roughly) do you send email with ASP? I don't use
> it so I don't know, but I am often asked why a client should fork
> out for CF
> when they can have ASP.. seems like a good example.

Something like this, with the excellent (and free) JMail component by
dimac.com:

Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = SMTPServer
JMail.Sender = WelcomeMessageSender
JMail.Subject = WelcomeMessageSubject
JMail.Body = WelcomeMessageBody
JMail.AddRecipient EmailAddr
JMail.Execute
Set JMail = nothing

Not that tough, was it? And the bonus is that JMail, like most real popular
COM objects, has roughly 30 or so methods you can call on to do advanced
stuff that's impossible or impractical with CFMail, like error trapping,
custom headers, multiple attachments, etc.

-ron


----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to