imap_timeout(1, <seconds>) works fine for pop3 connections, but apparently not for pop3s (ssl, port 995) connections, where the default socket timeout still applies.
This applies to php 4.3.10, not tested on other versions.
![]() |
|
||||||||||
|
imap_timeoutОписаниеmixed imap_timeout ( int timeout_type [, int timeout] )
imap_timeout
david dot morel at amakuru dot net
17-Nov-2005 07:48
imap_timeout(1, <seconds>) works fine for pop3 connections, but apparently not for pop3s (ssl, port 995) connections, where the default socket timeout still applies.
bwgraham at vt dot edu
12-Mar-2004 10:53
We looked into the source to find out what this function actually does and how to use it. The function overrides the default_socket_timeout setting from your php.ini file |