Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17240 программистов и 1834 робота. Сейчас ищет 1701 программист ...

Auth_Container_IMAP

Вернуться к: Auth

Auth_Container_IMAP

Auth_Container_IMAP – Authenticate against an IMAP server

This storage container connects to the specified IMAP server and tries to login there with the specified username/password.

The storage-specific argument for the Auth constructor() is an array of options.

Available Options
Option Data Type Default value Description
"host" string "localhost" The hostname or the IP address of the IMAP server
"port" integer 143 The port where the IMAP server is listening
"baseDSN" string "

This controls the methods used to connect. Like SSL, TLS and certificate validation.

To connect to an SSL IMAP server: "/imap/ssl"

To connect to an SSL IMAP server with a self-signed certificate: "'/imap/ssl/novalidate-cert'"

Further options may be available and can be found on the php site at http://www.php.net/manual/function.imap-open.php.

"timeout" integer 20 Timeout in seconds for connecting to the server.
"checkServer" boolean TRUE Whether to check if we can connect to the server when starting container.



Вернуться к: Auth

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware