PHP Classes

Data access time out

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  Data access time out  >  (Un) Subscribe thread alerts  
Subject:Data access time out
Summary:Data access time out - Failure while sending for some addresses
Messages:4
Author:Patrick Franke
Date:2007-07-05 08:02:59
Update:2007-08-22 19:23:24
 

  1. Data access time out   Reply   Report abuse  
Picture of Patrick Franke Patrick Franke - 2007-07-05 08:03:00
Hi Manuel,
I have a problem when I will send an email to an address like xyz@de.ey.com or xyz@de.pwc.com. The failure status is: "it was not possible to read line from the SMTP server: data access time out". It seems, that the class has a problem with addresses with two points after the "@". The class works fine with all other addresses...

  2. Re: Data access time out   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-07-05 21:29:33 - In reply to message 1 from Patrick Franke
When that happens it means your SMTP server is taking too long to respond. You may want to increase the timeout variables so it provides enough time to wait for the server responses.

  3. Re: Data access time out   Reply   Report abuse  
Picture of Patrick Franke Patrick Franke - 2007-08-22 13:12:19 - In reply to message 2 from Manuel Lemos
Hi Manuel,

what variables did you mean? The $timeout or the $data_timeout or both?
The value of both variables in the smtp.php is "0". Do you have any ideas about the value or should I do it by trial and error?

Patrick

  4. Re: Data access time out   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-08-22 19:23:24 - In reply to message 3 from Patrick Franke
The timeout variable is to for establishing connections, data_timeout is after the connection is already established.

0 means to not change the default timeout, which may be waiting forever or waiting for some implicit default value like 60 seconds.

You need to try different values until it is enough to avoid the error.