Page MenuHomeGitPull.it

config-example.php
No OneTemporary

Authored By
Unknown
Size
937 B
Referenced Files
None
Subscribers
None

config-example.php

<?php
# remember to copy this file, fill, and save as 'config.php'
# path to your Phabricator installation
define( 'IMAPBOT_PATH_PHAB', '/path/to/phabricator' );
# your mailbox connection URL
# see the full syntax in https://www.php.net/manual/en/function.imap-open.php
define( 'IMAPBOT_IMAP_MAILBOX', '{HOST:PORT/ssl}INBOX' ); // HOST example: foo.it, PORT example: 993
# your mailbox username
define( 'IMAPBOT_IMAP_USERNAME', 'foo@bar.it' );
# your mailbox password
define( 'IMAPBOT_IMAP_PASSWORD', 'imap password password' );
# how much seconds to wait before checking new e-mails
define( 'IMAPBOT_CYCLE_SLEEP', 10 );
# path to the IMAPSpooler class (maybe you can leave this as-is)
define( 'IMAPBOT_PATH_SPOOLER', __DIR__ . '/../php-imap-spooler/class-IMAPSpooler.php' );
# add some other configurations like sender blacklist
$IMAPBOT = new stdclass();
$IMAPBOT->SENDER_BLACKLIST = [
'very-spammy-address@example.com',
];

File Metadata

Mime Type
text/x-php
Expires
Wed, Nov 18, 23:54 (3 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263476
Default Alt Text
config-example.php (937 B)

Event Timeline