PHP Classes

data access timeout

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  data access timeout  >  (Un) Subscribe thread alerts  
Subject:data access timeout
Summary:More than 1 recipient fails
Messages:10
Author:danilcha
Date:2011-08-22 16:40:43
Update:2011-09-30 02:13:15
 

  1. data access timeout   Reply   Report abuse  
Picture of danilcha danilcha - 2011-08-22 16:40:44
Hi!

Something happened and now I can't sent mail with more than two recipients. I can do this trough Outlook so it's not server's error. I've updated smtp.php to newest version but this didn't help. The error message is

it was not possible to read line from the SMTP server: data access time out

  2. Re: data access timeout   Reply   Report abuse  
Picture of danilcha danilcha - 2011-08-22 16:49:27 - In reply to message 1 from danilcha
I increased data_timeout — didn't help. Like server was updated and now it waits for some delimiter which should go after long list of addresses and smtp.php doesn't send it and they freeze.

  3. Re: data access timeout   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-08-22 17:06:46 - In reply to message 2 from danilcha
Can you please set the debug variable and reply with the debug output that the class dumps so I can figure what is going on?

  4. Re: data access timeout   Reply   Report abuse  
Picture of danilcha danilcha - 2011-08-22 17:07:21 - In reply to message 2 from danilcha
Agha! I got it! The PHP 5.3.7 update did this! I rolled back to 5.3.6 and now everything works as usual. I have to say that php3.php have a similar problem — it could not read line sometimes.

  5. Re: data access timeout   Reply   Report abuse  
Picture of danilcha danilcha - 2011-08-23 16:15:11 - In reply to message 3 from Manuel Lemos
Hi Manuel! Are you going to check smtp.php with PHP 5.3.7 and new released 5.3.8?

  6. Re: data access timeout   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-08-24 04:48:12 - In reply to message 5 from danilcha
The class works well under PHP 5.3.8 .

  7. Re: data access timeout   Reply   Report abuse  
Picture of danilcha danilcha - 2011-09-01 02:13:05 - In reply to message 6 from Manuel Lemos
Thank you! Have you tried with 5.3.7?

  8. Re: data access timeout   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-09-01 03:04:04 - In reply to message 7 from danilcha
No. There should be no reason for not to work in PHP 5.3.7, but since PHP 5.3.8 was released as bug fix of PHP 5.3.7 mistakes, I do not think most people will be using PHP 5.3.7, so it is not worth trying that version.

  9. Regarding the SMTP connection   Reply   Report abuse  
Picture of vpandey vpandey - 2011-09-29 11:03:29 - In reply to message 8 from Manuel Lemos
Hello Mr.Lemos

I am using class to send the mail by SMTP. but i am not solve my issue.
everything works fine in starting but i don't know why suddenly it stops and does not show me any further message even the error message. i realy need this done ASAP. i realy appreciate any help from you that can solve this issue. i also attaching the out put of the script.
/**********************/
Resolving SMTP server domain "smtp.gmail.com"...
Connecting to host address "209.85.225.109" port 465...
Connected to SMTP server "smtp.gmail.com".
S 220 mx.google.com ESMTP eh34sm5213ibb.5
C EHLO localhost
S 250-mx.google.com at your service, [72.10.39.120]
S 250-SIZE 35882577
S 250-8BITMIME
S 250-AUTH LOGIN PLAIN XOAUTH
S 250 ENHANCEDSTATUSCODES
/***********************/

After that no processing message printing.

Thank you

  10. Re: data access timeout   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-09-30 02:13:16 - In reply to message 9 from vpandey
When the class fails for some reason it returns an error. Check the class $error variable to see why it failed.