springfield Posted November 1, 2010 Report Share Posted November 1, 2010 System is Windows XP Pro and Programming Language VS 2003 VB.Net and ASP.Net Since the end of September I have been unable to send an E-Mails via my programs using SMTP Indirect Mail.This problem has affected 2 other Machines also running XP Pro.The Lines of Code that fail:System.Web.Mail.SmtpMail.SmtpServer.Insert(0, "127.0.0.1 or your mail server name here")System.Web.Mail.Smtp.Send(Message)These Lines have worked faultlessly for 5+ Years but have now suddenly failed!Replace the "127.0.0.1 or your mail server name here" with my ISP's SMTP Server works fine.I have been struggling with this for most of the month and these are my findings/observations:1) The really crucial observation is that is affects 3 different machines each with different ISP's therefore it is very unlikely to be a coincidence!2) None of the 3 have had any program changes.3) The only common factor would seem to be Microsoft Windows Updates.4) But I have (possibly?) ruled this out because I was able to re-install an HDD onto my Machine that I had removed from service in January 2010.5) I disabled Automatic Updates to preserve its state and it worked perfectly.6) Disregard the "127.0.0.1 or ... here" Line - This has always worked and is covered by several Blogs.7) My ISP (Tiscali) has spent considerable time investigating this and can see no reason why their SMTP Server could be responsible.8) I have tried posting this on several Forums with limited response and no help has been forthcoming.Please take note of the fact that this has affected 3 Machines therefore it is NOT the setup of my Machine that is at fault.I shall really appreciate any help or suggestions that anyone may have to resolve this.David Smith Quote Link to comment Share on other sites More sharing options...
Boris Posted November 1, 2010 Report Share Posted November 1, 2010 For InfoQuestion also asked at :-/>http://social.answers.microsoft.com/Forums/en-US/xpnetwork/thread/5cccb9be-5335-4e3b-8daf-febd48377728 Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted November 7, 2010 Report Share Posted November 7, 2010 Do you get any 4-byte error code? That would narrow down the cause of the problem... Quote Link to comment Share on other sites More sharing options...
springfield Posted November 7, 2010 Author Report Share Posted November 7, 2010 Do you get any 4-byte error code? That would narrow down the cause of the problem...Thanks for your reply.Absolutely no Error Code(s) whatsoever!The only real indication is that failed Messages are dumped, as one might expect, into C:\Inetpub\mailroot\Queue.The fact that this is affecting 3 different Machines running with 3 different ISPs and no Error Messages is making it difficult to resolve.This seems to point to it being a common (?) problem with Internet Connections but then it would have meant that all ISP's did whatever simultaneously - Most unlikely!My ISP has, after considerable efforts, no idea and I can't get any response from the other 2.It is also difficult, if not almost impossible, to code a 'Work-Around' using a known SMTP Server name because I don't know the SMTP Servers used by the other 2 Machines.I have tried to do a bit of 'Registry Querying' to find the Default SMTP Servers but this presents problems with the other 2 Machines - Problems of 'Authority', etc. and that ASP\Net is the 'Current User' at the time of the problem.This really is driving me crazy! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.