Author |
|
PhilA Newbie
Joined: 26 May 2007
Online Status: Offline Posts: 6
|
Posted: 21 June 2007 at 2:41am | IP Logged
|
|
|
I have a simple test app that sends email and I have found that I'm receiving the following error:
SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
I've narrowed this down to a case where the sender email address is invalid. Does the SMTP component check the sender email address when sending email and therefore causes this error because it can't connect to the sender domain ?
If so, is there any way to trap the specific invalid sender error rather than having to guess what the timeout is about ?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 21 June 2007 at 8:26am | IP Logged
|
|
|
Without the source code, it's not possible to tell for sure, but it seems there is an issue with your SMTP server (if you are sending via relay server). It's possible that your server attempts to validate the sender, this takes a lot of time and makes MailBee think the server died. You can either increase SmtpServer.Timeout value or disable email address verification in your SMTP server settings.
Regards,
Alex
|
Back to Top |
|
|