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.configurati on 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.en...act/email3.asp
<%
'here's my asp then!
'using the post method hence the request.form methods
if Request.Form("i sSubmitted") = "yes" then
Dim sMsg
'more dims....
sTo = "ed****@seldon. topdsl.co.uk"
sFrom = "fr**@wood.bear .com"
sSubject = "The rights and wrongs of this and that"
sParentName = Request.Form("M oniker") & " " & Request.Form("p arentname")
sPhone = Request.Form("p hone")
sEmail = Request.Form("e mail_address")
'etc
'etc - build up the content
Dim objMail
Set objMail = Server.CreateOb ject("CDO.Messa ge")
objMail.From = sFrom
objMail.To = sTo
objMail.Subject = sSubject
objMail.TextBod y = sTextBody
objMail.Send
Set objMail= Nothing
end if
%>