SMTP :: boolean timeout ( integer secounds )

Returns TRUE if has been successfully set, FALSE if not. Set the socket timeout connection to client or/and relay mail server. Notice: the default value for timeout connection are 30 secounds. Example:

$mail = new SMTP;

$mail->Delivery('client');

$mail->TimeOut(10) OR die('error');

[ Comments ] Last update: Friday, June 16, 2006