[thelist] Sending mail problem with ASP/CDO

Tom Dell'Aringa pixelmech at yahoo.com
Fri Feb 25 09:59:36 CST 2005


Hi folks,

I don't hardly ever use ASP so I have no clue what the problem is here. We want to send this very
simple email from a very simple form (that will hardly get used). I'm using this code I found on
W3Schools:

<%
'handle contact form feedback

Set myMail=CreateObject("CDO.Message")
myMail.Subject="eHandbook Feedback"
myMail.From="no-reply at somewhere.com"
myMail.To="me at me.com"
myMail.TextBody="This is a message."
myMail.Send <-- Line 9
%>

(with real email addresses of course)

I get this 500 error:

COM Error Number  	-2147220960 (0x80040220)
File Name 	/SVM1/Handbook/process-contact.asp
Line Number 	9
Brief Description 	The "SendUsing" configuration value is invalid.

Is there some setting I have to adjust on my IIS console? Or is there some error in this script?
Seems pretty basic and should work...any help is appreciated.

Thanks

Tom



=====

http://www.pixelmech.com/

Melissa: Ace, Where are you?
Ace Ventura: I'm in Psychoville and Finkle's the Mayor.



More information about the thelist mailing list