From 2859a7abb51e8cfd3319b566938822d0d062a8d0 Mon Sep 17 00:00:00 2001 From: Synox Date: Thu, 22 Dec 2016 21:34:43 +0100 Subject: [PATCH] REFACTOR: improved sample --- src/config.sample.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config.sample.php b/src/config.sample.php index 97154c5..56f018a 100644 --- a/src/config.sample.php +++ b/src/config.sample.php @@ -12,9 +12,8 @@ error_reporting(E_ALL); // see https://en.wikipedia.org/wiki/Cross-origin_resource_sharing // header("Access-Control-Allow-Origin: *"); -// setup imap connection -$config['imap']['host'] = "localhost"; -$config['imap']['url'] = '{' . $config['imap']['host'] . '/imap/ssl}INBOX'; +// Change IMAP settings (check SSL flags on http://php.net/manual/en/function.imap-open.php) +$config['imap']['url'] = '{example.com/imap/ssl}INBOX'; $config['imap']['username'] = "test"; $config['imap']['password'] = "test";