public function __construct($imapPath, $login, $password, $attachmentsDir = null, $serverEncoding = 'utf-8') { parent::__construct($imapPath, $login, $password, $attachmentsDir, $serverEncoding); }
/** * * @param string $host * @param string $user * @param string $pass * @param string $mailBox */ public function __construct($host, $user, $pass, $mailBox = 'INBOX') { $imapPath = "{" . $host . "/notls}" . $mailBox; parent::__construct($imapPath, $user, $pass, null, 'iso-8859-1'); #parent::__construct($imapPath, $user, $pass, null, 'utf-8'); }