Ummm...watch the CF vs. ASP thread going on....Tony Weeg just posted
this...it may answer your question......
HTH
************************************
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>
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: "Matthew R. Small" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 1:38 PM
Subject: RE: Way Off Topic - Need help sending email with ASP
> Sorry I can't answer your question, but I was just wishing for the same
> thing: a House of Fusion ASP mailing list.
>
> I've spent the entire day trying to figure out how to get a simply query
> to work, and I come from a Computer Science background. I understand
> OOP just fine, it's just that there are SO MANY CLASSES.
>
> I've joined a number of ASP-specific mailing lists, it's just that none
> seem to be as active or well-run as this one.
>
> Michael Dinowitz, do you think it's possible to start up an
> ASP-for-CFer's? I would be on it SO quick.
>
> Anybody else want to comment on this?
>
> Matthew Small
> IT Supervisor
> Showstopper National Dance Competitions
> 3660 Old Kings Hwy
> Murrells Inlet, SC 29576
> 843-357-1847
> http://www.showstopperonline.com
>
>
> -----Original Message-----
> From: James Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 4:23 PM
> To: CF-Talk
> Subject: Way Off Topic - Need help sending email with ASP
>
> Hi,
>
> I know this is way off topic, but really need some help quickly.
>
> I can do this easily with CF, but ASP is a way different beast. Has
> anyone had any experience sending email via ASP/VBScript? I can format
> the mail headers, to, from, subject, and, can send the mail, but can't
> get a variable containing a string of other info to show up in the
> subject. I know the CDONTS mailer is working, or else no mail would be
> sent or received.
>
> I can't debug this in Dreamweaver, as there's no JavaScript. I can't
> easily figure out how to debug HTML/ASP code in Visual Studio .NET.
>
> Here's the 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
> ********************************
> Again, sorry for the off topic, but if there was a House of ASP mailing
> list.... :)
>
> Thanks,
>
> *******************************************
> James Johnson
> SMB-Studios
> Innovative Online Learning for Spirit, Mind and Body
> www.smb-studios.com
> [EMAIL PROTECTED]
>
>
>
______________________________________________________________________
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