TCPnet SMTP Issues

I have implemented the TCPnet library and a simple routine to send an email to myself. It works, however only about 50% of the time; one of several things causes it to fail: it doesn't ever receive and IP address and gets assigned 169.254.x.x and than nothing works, or it gets a valid IP but then either has a server timeout error or email failed to send error.

When it works it works fine and all data is transferred and email comes through correctly and to the correct address. But half the time it fails. I have the timer tick already set to max of 10ms so it is going as fast as the library will allow.

Any ideas as to why it may not be working all of the time?

Parents Reply Children
No data
More questions in this forum