在class.phpmailer.php第219行有这样一个属性,你自己验证一下 /** * Sets the SMTP server timeout in seconds. * This function will not work with the win32 version. * @var int */ public $Timeout = 10; 但是在windows上面不会生效
如果用smtp的话,有一个值可以修改一下,默认连接服务器为30秒 在class.smtp.php的112行处 参数$tval为连接服务器的时间,默认30 public function Connect($host, $port = 0, $tval = 30)
我设了 public function Connect($host, $port = 0, $tval = 130) 可是他还是以30为时间??
class.phpmailer.php
class.smtp.php
/**
* Sets the SMTP server timeout in seconds.
* This function will not work with the win32 version.
* @var int
*/
public $Timeout = 10;
但是在windows上面不会生效
在class.smtp.php的112行处
参数$tval为连接服务器的时间,默认30
public function Connect($host, $port = 0, $tval = 30)
可是他还是以30为时间??