Actually, if you were interested in making a fair comparison, it would look more like this:
<cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" subject=""> #Form.FirstName# #Form.LastName# has request more information. Please contact them at #Form.Phone#. #Form.FirstName# #Form.LastName# #Form.Addr1# #Form.Addr2# #Form.City# #Form.State# #Form.ZIP# #Form.Email# #Form.Phone# #Form.Comments# #Form.NoMkt# </cfmail> It's still less lines and I like the way ColdFusion does it better, but that would be a more accurate comparison. Of course, the ASP method can be advantageous in a lot of situations. Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 -----Original Message----- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:35 PM To: CF-Talk Subject: RE: CF vs. ASP CASE IN POINT!!!! <<<<<<<<TOO MANY LINES/CHARACTERS OF BS VBSHIT CODE>>>>>>> ************************************ Dim MyMail Dim MsgText Set MsgText = Request.Form("FirstName") + " " + Request.Form("LastName") + " has requested more information." Set MsgText = MsgText + "Please contact them at " + Request.Form("Phone") Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form("FirstName") + VBCrLf Set MsgText = MsgText + Request.Form("LastName") + VBCrLf Set MsgText = MsgText + Request.Form("Addr1") + VBCrLf Set MsgText = MsgText + Request.Form("Addr2") + VBCrLf Set MsgText = MsgText + Request.Form("City") + VBCrLf Set MsgText = MsgText + Request.Form("State") + VBCrLf Set MsgText = MsgText + Request.Form("ZIP") + VBCrLf Set MsgText = MsgText + Request.Form("Email") + VBCrLf Set MsgText = MsgText + Request.Form("Phone") + VBCrLf Set MsgText = MsgText + Request.Form("Comments") + VBCrLf Set MsgText = MsgText + Request.Form("NoMkt") + VBCrLf Set MyMail = CreateObject("CDONTS.NewMail") MyMail.From = "[EMAIL PROTECTED]" MyMail.To = "[EMAIL PROTECTED]" MyMail.Subject = "Information Request" MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing ******************************** !END CASE IN POINT! Compared to this.............. <cfmail to="" from="" server="" subject="">some stuff here.....</cfmail> there is no comparison, the only thing we need to do with asp is Port it to CFML so that our clients get what they deserve! .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -----Original Message----- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:11 PM To: CF-Talk Subject: RE: CF vs. ASP As long as the price is right... :) Thanks -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: > Hello all, > > I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? > > TIA > > Jimmy > ______________________________________________________________________ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists