Asp Email 500 Error
Contents |
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 asp 500 error debugging Project Hire for a Full Time Job Ways to Get Help Expand classic asp 500 error Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store asp 500 error iis7 Headlines Experts Exchange > Questions > .ASP email send returning 500 - Internal server error IIS Want to Advertise Here? Solved .ASP email send returning 500 - Internal server error
Iis Asp 500 Error
IIS Posted on 2013-07-01 MS Server Apps Windows Server 2008 Microsoft IIS Web Server 1 Verified Solution 8 Comments 3,191 Views Last Modified: 2013-07-17 I've copied some pages from our old server to a new one, this page is no longer sending emails and instead is throwing an error. I expect I haven't set something right with the server/service since asp net 500 error it worked before and the code hasn't changed. Here's the sub that's dieing: sub send_email(x_subject, x_body, x_to, x_from) 'used for sending mail to a single recipient sch = "http://schemas.microsoft.com/cdo/configuration/" set cdoConfig = CreateObject("CDO.Configuration") with cdoConfig.Fields .Item(sch & "sendusing") = 2 .Item(sch & "smtpserver") = "127.0.0.1" .update end with set cdoMessage = CreateObject("CDO.Message") with cdoMessage set .Configuration = cdoConfig .From = x_from .To = x_to .Subject = x_subject .HtmlBody = x_body .Send end with set cdoMessage = nothing set cdoConfig = nothing end sub If I comment out the call to the sub there's no error, but it also doesn't send the email, obviously. 0 Question by:Rossamino Facebook Twitter LinkedIn Google LVL 52 Active today Best Solution byScott Fell, EE MVE The_transport_failed_to_connect_to_the_server. You probably need to authenticate. Look here http://www.paulsadowski.com/ws
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and asp 500 internal server error Above Classic ASP Sending e-mail with classic ASP, SMTP server
Asp Net 404 Error
and IIS7.5 Sending e-mail with classic ASP, SMTP server and IIS7.5 [Answered]RSS 8 replies Last post Jul
Asp Net 401 Error
21, 2010 01:30 AM by spivey ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply martijnvm https://www.experts-exchange.com/questions/28172855/ASP-email-send-returning-500-Internal-server-error-IIS.html 5 Posts Sending e-mail with classic ASP, SMTP server and IIS7.5 Jan 22, 2010 03:17 AM|martijnvm|LINK Hello all, I've installed the SMTP server on my Windows Server 2008 machine. I've added some legacy classic asp websites to the webserver. All these websites are not able to send e-mail with the installed SMTP server. I'm able http://forums.iis.net/t/1164349.aspx?Sending+e+mail+with+classic+ASP+SMTP+server+and+IIS7+5 to send an e-mail with telnet. When I try the following code an error occurs: <% Set cdoMessage = CreateObject("CDO.Message") With cdoMessage .From = info@domain1.nl .To = user@domain2.nl .Subject = "Sample CDO Message" .TextBody = "This is a test for CDO.message" .Send End With Set cdoMessage = Nothing %>
The displayed error is: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /testmail.asp, line 8 The same code works without problems on my old Windows Server 2003 machine with IIS6. Does anyone have an idea what's wrong here? Thanks in advance. Martijn van Mechelen Reply martijnvm 5 Posts Re: Sending e-mail with classic ASP, SMTP server and IIS7.5 Jan 22, 2010 03:48 AM|martijnvm|LINK It seems that it's got something to do with the account of the Application Pool. With the ApplicationPoolIdentity account(the default)I get the following message: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /testmail.asp, line 8 With the NetworkService accountI get themessage: CDO.Message.1 error '80070005' Access is denied. /testmaivisit, be sure to check out the FAQ by clicking the link http://www.webdeveloper.com/forum/showthread.php?260401-CDOSYS-HTTP-500-error above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum https://support.microsoft.com/en-us/kb/261200 that you want to visit from the selection below. Results 1 to 3 of 3 Thread: CDOSYS HTTP 500 error Tweet Thread Tools Show 500 error Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 05-09-2012,04:15 PM #1 Frggs View Profile View Forum Posts Registered User Join Date May 2012 Posts 1 CDOSYS HTTP 500 error I am trying to familiarise my self.. so asp 500 error please be patient! a total nubie…. The following is copied from http://www.w3schools.com/asp/asp_send_email.asp I am working my way through the tutorials… everything works so far… until I try this…. Examples using CDOSYS Sending a text e-mail: <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.TextBody="This is a message." myMail.Send set myMail=nothing %> I am trying this on a local machine with Vista Ultimate and IIS 6 installed with these features http://www.froggshalllimited.co.uk/IIS.jpg But with myMail.Send this results in HTTP500 internal server error What am I missing? Reply With Quote 05-14-2012,09:12 AM #2 ithighway View Profile View Forum Posts Registered User Join Date Oct 2005 Posts 9 Use following and provide data according to your server settings: '#Text body email NOT html set objMail = Server.CreateObject("CDO.Message") objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "info@yourdomain.com" '#smtp address objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25'#smtp port ' objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 ' objMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "ve
One games Xbox 360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft