Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: send mail using asp
From: Paul Franks
Date: Fri, 28 Jul 2000 23:25:11 +0100

Anthony,
What are you using to send the mail?
It sounds as though it's CDONTS. The Server.CreateObject failure usually
means that the component is not installed. Have a word with the server
admin.
Show some code for the ASP page, and we should be able to help.

Here is code that works:

<%
Dim objCDO
Dim strBody
Dim strFrom
strBody = Request.Form("txtEmail")
strFrom = Request.Form("txtFrom")
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "anthony [dot] faustatwhatever [dot] com"
objCDO.From = strFrom
objCDO.Subject = "Message from Flash Form"
objCDO.Body = strBody
objCDO.Send
Set objCDO = Nothing
%>

hth

Paul

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Anthony
Faust
Sent: 28 July 2000 22:31
To: flasheratchinwag [dot] com
Subject: FLASH: send mail using asp


Hi flashers,

i'm trying to create an interactive form where the user can input
information and send it to my email....


anyway, I know how to set up the form and everything, it's just that when I
try to send it, it says something like "Can't create object"....I tried the
example at www.virtual-fx.net under the category "Intermediate".....and it
doesn't work there either......

doesn't it have to do with IIS or something? can someone help me out here?
it seems simple enough........

thanks,

anthony
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: send mail using asp, Anthony Faust

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]