I have been looking around
and
decided to post this in a new topic because
the
answer
was
just not there for my particular need.
I have 19 forms for an insurance website I manage. They were using cdonts until the host upgraded and cdonts was dumped for cdosys. I found a form handler that looks like I can just copy the form fields from the old forms and past them into the new form (which keeps their format and css together,) however I keep getting this error:
CDO.Message.1 error '8004020d'
At least one of the From or Sender fields is required, and neither was found.
/test/testsend1.asp, line 41
here is that section of the form handler:
'Update the CDOSYS Configuration
Set objCDOSYSMail.Configuration = objCDOSYSCon
'Set and update email properties
With objCDOSYSMail
'0=Low, 1=Normal, 2=High
. Fields ("urn:schemas:httpmail:importance").Value = 1
'Who the e-mail is from
. From = Request.Form("email_address")
'Who the e-mail is sent to
.To = "chrisrabkin@embarqmail.com"
'Who the e-mail is CC'd to
.Cc = ""
' The subject of the e-mail
.Subject = Request.Form("email_subject")
'Set the e-mail body format (HTMLBody=HTML TextBody=Plain)
.TextBody = plain
. Fields .Update
'Send the e-mail
.Send <-(this is line 41)
End With
'Close the server mail object
Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing
'Rederect after sending email
Response.Redirect Request.Form("redirect_to")
%>
the form can be viewed at http://www.parlininsurance.com/test/test1.asp
Im trying to find the quickest solution for the whole form conversion as possible because all I keep hearing is (My site isnt working Im loosing money) so any help is appreciated.
I have 19 forms for an insurance website I manage. They were using cdonts until the host upgraded and cdonts was dumped for cdosys. I found a form handler that looks like I can just copy the form fields from the old forms and past them into the new form (which keeps their format and css together,) however I keep getting this error:
CDO.Message.1 error '8004020d'
At least one of the From or Sender fields is required, and neither was found.
/test/testsend1.asp, line 41
here is that section of the form handler:
'Update the CDOSYS Configuration
Set objCDOSYSMail.Configuration = objCDOSYSCon
'Set and update email properties
With objCDOSYSMail
'0=Low, 1=Normal, 2=High
. Fields ("urn:schemas:httpmail:importance").Value = 1
'Who the e-mail is from
. From = Request.Form("email_address")
'Who the e-mail is sent to
.To = "chrisrabkin@embarqmail.com"
'Who the e-mail is CC'd to
.Cc = ""
' The subject of the e-mail
.Subject = Request.Form("email_subject")
'Set the e-mail body format (HTMLBody=HTML TextBody=Plain)
.TextBody = plain
. Fields .Update
'Send the e-mail
.Send <-(this is line 41)
End With
'Close the server mail object
Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing
'Rederect after sending email
Response.Redirect Request.Form("redirect_to")
%>
the form can be viewed at http://www.parlininsurance.com/test/test1.asp
Im trying to find the quickest solution for the whole form conversion as possible because all I keep hearing is (My site isnt working Im loosing money) so any help is appreciated.