Jump to content

E-MAIL HELP


springfield
 Share

Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy