M
M
Megaket4up2017-05-17 13:39:01
PHP
Megaket4up, 2017-05-17 13:39:01

How to get emails from public folder?

There is a [email protected] mailbox, into which the Inbox folder was shared from the [email protected] mailbox. There is a folder and letters in the web interface. I try like this:


$host = "host";
$address = "[email protected]"
$password = "password";
$authServer = "{" . $host. ":993/imap/ssl/novalidate-cert}";
$mbox = imap_open($authServer . 'INBOX', $address, $password, OP_DEBUG, 0, array('DISABLE_AUTHENTICATOR' => 'GSSAPI'))
$list = imap_list($mbox, $authServer, "*");
dd($list);

The output is only standard folders from the [email protected] mailbox.
How to get letters from a shared folder using php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2017-05-17
@Megaket4up

Try any email client (not web) to access this folder. If it doesn't work out, then it won't work out of PHP either.
Because the "shared folder" is an invention of a particular mail site, not IMAP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question