close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Errors when sending emails...Network Error (tcp_error) A communication error occurred.

Thread began 1/13/2014 9:59 am by sandy170299 | Last modified 1/13/2014 12:56 pm by Jason Byrnes | 1325 views | 10 replies |

sandy170299

Errors when sending emails...Network Error (tcp_error) A communication error occurred.

Network Error (tcp_error)
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

The ISP is saying that it is their service provider which is preventing the emails from being sent, but they have tried it from numerous locations now, using different network connections, and still get the same error message. Can you point me in the right direction on this one? I have set it up so that it waits 5 seconds between emails, and sends a max of 25 emails every 5 minutes. This is well within the server requirements.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

how many emails are being sent?

Does the error occur sending the first email?

what if you create another email script that only sends one email?

really, it sounds like a server problem, not a code problem.

double check the SMTP Server address that you entered and make sure you have the right port.

Sign in to reply to this post

sandy170299

Here is the message that was in the email log table for the ones that were not sent successfully:

Sending To: ... mail() [function.mail]: SMTP server response: 503 Bad sequence of commands - Failure

Does this help at all?

Sign in to reply to this post

Jason ByrnesWebAssist

How is the to address set up?

yo did not answer the other questions from my previous reply:


how many emails are being sent?

Does the error occur sending the first email?

what if you create another email script that only sends one email?

Sign in to reply to this post

sandy170299

Actually, I looked at the email log table more closely, and the only emails that failed were when an email address was missing. There were only 5 failures, so she's still getting the error messages whether they were sent successfully or not. There is code in place so the sign up form can't be submitted unless a valid email address has been entered, so I'm not even sure how those empty records got into the database to begin with.

Sign in to reply to this post

sandy170299

There are 2055 emails in the table that are being sent. Please see my previous response about the failures. In testing the program, I submitted a bunch of emails of mine personally and they all were sent without errors. Probably up to ten emails.

Sign in to reply to this post

Jason ByrnesWebAssist

The empty records will be what is causing the error then. The SMTP server is saying that sending to: "" is not a valid email address.

Sign in to reply to this post

sandy170299

Thanks, Jason. We'll monitor it,but now I'm aware of that issue, so I can more closely watch the log tables. I think I will delete all the data in the log tables for now so I can start fresh with the next mailing.

Sign in to reply to this post

Jason ByrnesWebAssist

add a condition to your recordset to check for null values in the email address:


WHERE emailCol IS NOT NULL AND emailCol != ''

Sign in to reply to this post

sandy170299

Thank you - I've added it.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...