Set-up the accounts
This is the important step to pipe into Ticaga, you need to go to:
/config/imap.php
Find:
/*
|--------------------------------------------------------------------------
| Available accounts
|--------------------------------------------------------------------------
|
| Please list all IMAP accounts which you are planning to use within the
| array below.
|
*/
'accounts' => [
'default' => [// account identifier
'host' => 'localhost',
'port' => 993,
'protocol' => 'imap', //might also use imap, [pop3 or nntp (untested)]
'encryption' => 'ssl', // Supported: false, 'ssl', 'tls'
'validate_cert' => true,
'username' => 'root@example.com',
'password' => '',
'authentication' => null,
'rfc' => 'RFC822', // If you are using iCloud, you might want to set this to 'BODY'
'proxy' => [
'socket' => null,
'request_fulluri' => false,
'username' => null,
'password' => null,
],
"timeout" => 30,
"extensions" => []
],
],
Please don't touch the default because it's not piped into Ticaga and it's just there for an example. Just above the line 31, put your own accounts in:
'sales' => [
'host' => 'mail.yourdomain.com',
'port' => 993,
'encryption' => 'ssl',
'validate_cert' => true,
'username' => 'sales@yourdomain.com',
'password' => "your_secret_password",
'authentication' => 'null',
],
'support' => [
'host' => 'mail.yourdomain.com',
'port' => 993,
'encryption' => 'ssl',
'validate_cert' => true,
'username' => 'support@yourdomain.com',
'password' => "your_secret_password",
'authentication' => 'null',
],
The username must match the department email address, however you can have more than one email pipe into a department.
So the final result looks like:
/*
|--------------------------------------------------------------------------
| Available accounts
|--------------------------------------------------------------------------
|
| Please list all IMAP accounts which you are planning to use within the
| array below.
|
*/
'accounts' => [
'default' => [// account identifier
'host' => 'localhost',
'port' => 993,
'protocol' => 'imap', //might also use imap, [pop3 or nntp (untested)]
'encryption' => 'ssl', // Supported: false, 'ssl', 'tls'
'validate_cert' => true,
'username' => 'root@example.com',
'password' => '',
'authentication' => null,
'rfc' => 'RFC822', // If you are using iCloud, you might want to set this to 'BODY'
'proxy' => [
'socket' => null,
'request_fulluri' => false,
'username' => null,
'password' => null,
],
"timeout" => 30,
"extensions" => []
],
'sales' => [
'host' => 'mail.yourdomain.com',
'port' => 993,
'encryption' => 'ssl',
'validate_cert' => true,
'username' => 'sales@yourdomain.com',
'password' => "your_secret_password",
'authentication' => 'null',
],
'support' => [
'host' => 'mail.yourdomain.com',
'port' => 993,
'encryption' => 'ssl',
'validate_cert' => true,
'username' => 'support@yourdomain.com',
'password' => "your_secret_password",
'authentication' => 'null',
],
],
And email fetching will automatically start for the configured accounts, Amazing!