This is a discussion on "CDO.Message.1 error '80040220'" within the Classic ASP section. This forum, and the thread "CDO.Message.1 error '80040220' are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
CDO.Message.1 error '80040220'
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
CDO.Message.1 error '80040220'
I have the following form page:
http://www.scobeymovingandstorage.co...mform_old.html that goes to this asp page: http://www.scobeymovingandstorage.co...semail_new.asp and it returns this error: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /claimsemail_new.asp, line 202 Here is the ASP code with the line 202 highlighted: Set sendMail=CreateObject("CDO.Message") sendMail.Fields.Item("SmtpMail.SmtpServer") = "localhost" sendMail.Fields.update sendMail.Subject=Request.form("_subject") sendMail.From=Request.form("requiredemail") sendMail.To=myTo sendmail.HTMLBody=myBody sendMail.Send set sendMail=Nothing I added the .Fields.Item lines because I did a search on Google for this error and it said that would fix it.. but its not.. I have NO idea why this is happening.. it works fine on other asp servers.. supposed to get htis out TODAY so any help would be greatly appreciated. Thanks!!!! |
|
|
|
#2
|
|||
|
|||
|
Re: CSO.Message.1 error '80040220'
On t his server it works:
http://www.coleyinc.com/scobeytest/claimform_old.html |
|
#3
|
||||
|
||||
|
Re: CDO.Message.1 error '80040220'
Read this thread:
http://forums.aspfree.com/asp-develo...20t-47913.html This seemed to work: try: <!-- METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <% Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "<enter_mail.server_here>" .Update End With Set cdoMessage = CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "from@me.com" .To = "to@me.com" .Subject = "Sample CDO Message" .TextBody = "This is a test for CDO.message" .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| errors |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error message of webmail | begeiste | PHP Forum | 2 | May 27th, 2008 19:39 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| Please Help Fix This Error Message | DannyP43 | JavaScript Forum | 3 | Sep 26th, 2006 22:04 |
| Why error message in status bar? | Sofie | PHP Forum | 11 | May 13th, 2006 18:23 |
| error message cant get straight | monkboy12345 | PHP Forum | 1 | Apr 15th, 2005 21:34 |