This method is used to access an IMAP/POP3/NNTP service.
public serviceMail ( string $url, string $serviceUrl, string $flags, &$err_code, &$err_msg, &$pt ) : object | ||
$url | string | a string giving the URL of the service, including the mailing box for IMAP URLs, as accepted by imap_open(). |
$serviceUrl | string | a string giving for CAS retrieve Proxy ticket |
$flags | string | options given to imap_open(). |
return | object | an IMAP stream on success, false otherwise (in this later case, $err_code gives the reason why it failed and $err_msg contains an error message). |