|
-
Hammerhead Shark
My First Cross-Post?
I posted this is Tech Support, they told me to post it here:
---------------------------------------------
I'm using ASP and vbScript on a Windows NT server.
I need to build an email and send it all within my ASP script. The content of the email will be based on form values (eg. Request.Form("strName") )
Any idea how to do this? Please help!
---------------------------------------------
Thanks... please help me! (BTW, I guess I'm not the ASP master after all :-)
------------------
I miss Off Topic.
I miss Off Topic. 
-
Hm, you'll have to either use the CDONTS component that's part of IIS, or use a third party form-mail tool. Go to http://www.4guysfromrolla.com and do a search on cdonts, I seem to recall it's fairly straightforward but haven't done it myself.
Originally posted by Alphathree:
I posted this is Tech Support, they told me to post it here:
------------------
"My other car is also a Porsche"
-------------------------
Abit BH6, rev. 1.01
PIII-750@931
256MB PC133 Crucial RAM
Hercules Prophet 4500
Diamond Monster MX300 w. Vortex 2 v.2048 drivers
DirectX 8.0a
"My other car is also a Porsche"
-------------------------
PIV-3.0GHz, 800MHz FSB; 1GB 400MHz SDRAM; Ati Radeon 9800 Pro; SB Audigy 2; Windows XP SP1
Old rig: Abit BH6, rev. 1.01; PIII-750@931; 256MB PC133 Crucial RAM; Hercules Prophet 4500; Diamond Monster MX300; DirectX 8.0a; 60 GB IBM Deskstar 60XP
-
Ursus Arctos Moderatis
Personally I like to use Blat. It's incredibly easy to use, and works awesome.
I'm assuming you have an SMTP server you can send this through?
Get Blat here: http://www.interlog.com/~tcharron/blat.html
-
Ultra Great White Shark!!
oh yeah, this wonderful piece of code:
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "[email protected]"
objMail.Subject = "How TO send email with CDONTS"
objMail.To = "[email protected]"
objMail.Body = "This is an email message" & vbcrlf&_
"with CDONTS." & vbcrlf&_
"It is really easy. "
objMail.Send
Response.write("Mail was Sent")
'You must always do this with CDONTS.
set objMail = nothing
%>
------------------
www.geocities.com/richardginn/templatehtml -Come visit the Template HTML homepage
www.myeducational plan.com-come see my plan to fix the USA educational system. I hope this is sig legal. Major Site Design Update on July 18, 2006. On June 18, 2009 passed the 10,000 post mark. December 24, 2009: Major Theme change and more....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|