Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15169079
config-example.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
config-example.php
View Options
<?php
// save a copy of this 'config-example.php' file as 'config.php'
// run this in the parent directory:
// git clone https://gitpull.it/source/php-imap-spooler/
define
(
'IMAPBOT_PATH_SPOOLER'
,
__DIR__
.
'/../php-imap-spooler/class-IMAPSpooler.php'
)
;
// how much seconds to wait before analyzing each mailbox
define
(
'IMAPBOT_CYCLE_SLEEP'
,
20
)
;
// define a mailbox
MailboxCredentialsCollector
::
addFromArgs
(
[
'name'
=>
'Valerio Bozzolan 1'
,
'from'
=>
'whoaaaaa@succhia.cz'
,
'login'
=>
'whoaaaaa@succhia.cz'
,
'host'
=>
'ssl://mail.reyboz.it'
,
'port'
=>
465
,
'auth'
=>
'PLAIN'
,
'imap'
=>
'{mail.reyboz.it:993/imap/ssl}INBOX'
,
'password'
=>
'REDACTED REDACTED REDACTED'
,
]
)
;
// define another mailbox
MailboxCredentialsCollector
::
addFromArgs
(
[
'name'
=>
'Valerio Bozzolan 2'
,
'from'
=>
'whoaaaab@succhia.cz'
,
'login'
=>
'whoaaaab@succhia.cz'
,
'host'
=>
'ssl://mail.reyboz.it'
,
'port'
=>
465
,
'auth'
=>
'PLAIN'
,
'imap'
=>
'{mail.reyboz.it:993/imap/ssl}INBOX'
,
'password'
=>
'REDACTED REDACTED REDACTED'
,
]
)
;
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Nov 18, 23:41 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263437
Default Alt Text
config-example.php (1 KB)
Attached To
Mode
R52 E-mail warmup bot
Attached
Detach File
Event Timeline