i got this code and used it but it displayed an error which is below
please help me.
code
<%
Dim sMsg
Dim sTo
Dim sFrom
Dim sSubject
Dim sTextBody
sTo = "
[email protected]"
sFrom = "
[email protected]"
sSubject = "hello tolu ni"
sTextBody = "Insert here your plain body text yes o"
Dim objMail
'Create the mail object
Set objMail = Server.CreateObject("CDO.Message")
'Set key properties
objMail.From = sFrom
objMail.To = sTo
objMail.Subject= sSubject
objMail.TextBody = sTextBody
'Send the email
objMail.Send
'Clean-up mail object
Set objMail = Nothing
%>
error
Error Type:
CDO.Message.1 (0x80040220)
The "SendUsing" configuration value is invalid.
/ont/test2.asp, line 34
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Page:
GET /ont/test2.asp
Time:
Friday, April 22, 2005, 1:36:46 PM