M
Maxelcat
Hi - getting very frustrated. I would really appreciate some help here!
trying to send email via a form from my website. Have to use .asp and I have
been round and round the houses trying to get this to work.
On my xp pro system using IIS this works - an email appears in the folder
When it is hosted I get this error message. I understood that I didn't need
to set up any details about the host of the website. Lots of seaches suggest
putting in the smtp address but I am not sure what to do. I have also seen a
lot of talk about CDO.configuration but again despite searching I can't find
out what to do.
Can somebody please help me!!!!!!!!
Many thanks in advance
Ed
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/version1/contact/email3.asp, line 51
Here's a cut down version of my page
the link is
http://www.freezywater-st-georges.enfield.sch.uk/version1/contact/email3.asp
<%
'here's my asp then!
'using the post method hence the request.form methods
if Request.Form("isSubmitted") = "yes" then
Dim sMsg
'more dims....
sTo = "(e-mail address removed)"
sFrom = "(e-mail address removed)"
sSubject = "The rights and wrongs of this and that"
sParentName = Request.Form("Moniker") & " " & Request.Form("parentname")
sPhone = Request.Form("phone")
sEmail = Request.Form("email_address")
'etc
'etc - build up the content
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
objMail.From = sFrom
objMail.To = sTo
objMail.Subject = sSubject
objMail.TextBody = sTextBody
objMail.Send
Set objMail= Nothing
end if
%>
trying to send email via a form from my website. Have to use .asp and I have
been round and round the houses trying to get this to work.
On my xp pro system using IIS this works - an email appears in the folder
When it is hosted I get this error message. I understood that I didn't need
to set up any details about the host of the website. Lots of seaches suggest
putting in the smtp address but I am not sure what to do. I have also seen a
lot of talk about CDO.configuration but again despite searching I can't find
out what to do.
Can somebody please help me!!!!!!!!
Many thanks in advance
Ed
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/version1/contact/email3.asp, line 51
Here's a cut down version of my page
the link is
http://www.freezywater-st-georges.enfield.sch.uk/version1/contact/email3.asp
<%
'here's my asp then!
'using the post method hence the request.form methods
if Request.Form("isSubmitted") = "yes" then
Dim sMsg
'more dims....
sTo = "(e-mail address removed)"
sFrom = "(e-mail address removed)"
sSubject = "The rights and wrongs of this and that"
sParentName = Request.Form("Moniker") & " " & Request.Form("parentname")
sPhone = Request.Form("phone")
sEmail = Request.Form("email_address")
'etc
'etc - build up the content
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
objMail.From = sFrom
objMail.To = sTo
objMail.Subject = sSubject
objMail.TextBody = sTextBody
objMail.Send
Set objMail= Nothing
end if
%>