Cdo Message 1 Error 800c000d
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss cdo message 1 error 800c000d the specified protocol is unknown the workings and policies of this site About Us Learn more cdo message attachment about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up CDO.Message.1 error '80040220' up vote 0 down vote favorite I have hosted my site, while sending mail gives me error as below: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /contact.asp, line 131 I have following code: <% sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "
Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > How do I send an attached http://stackoverflow.com/questions/33391500/cdo-message-1-error-80040220 file using CDOSYS? Want to Advertise Here? Solved How do I send an attached file using CDOSYS? Posted on 2004-08-24 ASP 1 Verified Solution 42 Comments 1,207 Views Last Modified: 2008-02-20 I can't find the property that would add an attachement to the email. MyMail.AddAttachment doesn't work. I have search EE https://www.experts-exchange.com/questions/21105792/How-do-I-send-an-attached-file-using-CDOSYS.html and Microsoft's site. I just want to attach and send a file specified in the file field. IF you know the answer, could you be kind enough to post a link to all the properties available for CDOSYS. Microsoft's sites seem impenetrable to me. Here's my code right now: dim fileattach fileattach = request.form("fileattachment") strHTML = "" strHTML = strHTML & "
" strHTML = strHTML & "" strHTML = strHTML & "" &message& "
" strHTML = strHTML & "-------------------------------------------------------" strHTML = strHTML & "Message generated by AuraFellows.net, built by SanePlanet.com" strHTML = strHTML & "" strHTML = strHTML & "" Set MyMail = CreateObject("cdo.message") MyMail.From = "admin@aurafellos.net" MyMail.To = "admin@aurafellos.net" MyMail.Subject = subject 'MyMail.TextBody = Totalmessage MyMail.ReplyTo = emailfield MyMail.HTMLBody = strHTML = fileattach MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "sendmail.brinkster.com" MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "" MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "a" MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 MyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 MyMail.Configuration.Fields.Update MyMail.SEND 0 Question by:polaatx Facebook Twitter L
Unanswered Topics Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional CDO Email error User Name Remember Me? Password Reminder Password http://p2p.wrox.com/classic-asp-professional/54277-cdo-email-error.html Register Register | FAQ | Members List | Calendar | Today's Posts | Search Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0. Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the Classic ASP Professional section of the Wrox Programmer to cdo message Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Page 1 of 2 cdo message 1 1 2 > Thread Tools Display Modes #1 (permalink) February 19th, 2007, 03:12 PM Treefarn Registered User Join Date: Feb 2007 Location: , , . Posts: 6 Thanks: 0 Thanked 0 Times in 0 Posts CDO Email error I'm trying to send an webpage via email to a user who fills out a form on my website. Problem is, some days it works, some days it doesn't, despite me not changing the code. Some days, it will work in the morning, not in the afternoon. When it works, the email gets sent as instructed. When it doesn't work, I get : CDO.Message.1 error '80040218' Unknown Error /functions.asp, line 98 which corresponds to the webpage on the server (the webpage I am trying to send) cannot be found. The code I am using, which I have seen posted as the proper code on several different tutorials is: objMessage.Subject = "Password Request" objMessage.From = "mywebsite@...." objMessage.To = myEmail objMessage.CreateMHTMLBody "http://www.myapplication.com/ForgottenPasswordEmail.asp?Password=" & Password objMessage.Send When I put in displayed to see where its crashing, its the 'CreateMHTMLBODY' line that isn't working. But as I've said, other days, it works just fine. So is there possibly someth