REFACTOR: improved sample
This commit is contained in:
parent
ecf2297a31
commit
2859a7abb5
1 changed files with 2 additions and 3 deletions
|
@ -12,9 +12,8 @@ error_reporting(E_ALL);
|
||||||
// see https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
|
// see https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
|
||||||
// header("Access-Control-Allow-Origin: *");
|
// header("Access-Control-Allow-Origin: *");
|
||||||
|
|
||||||
// setup imap connection
|
// Change IMAP settings (check SSL flags on http://php.net/manual/en/function.imap-open.php)
|
||||||
$config['imap']['host'] = "localhost";
|
$config['imap']['url'] = '{example.com/imap/ssl}INBOX';
|
||||||
$config['imap']['url'] = '{' . $config['imap']['host'] . '/imap/ssl}INBOX';
|
|
||||||
$config['imap']['username'] = "test";
|
$config['imap']['username'] = "test";
|
||||||
$config['imap']['password'] = "test";
|
$config['imap']['password'] = "test";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue