Page MenuHomeGitPull.it

No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/config-example.php b/config-example.php
index 7a6d4da..d77881f 100644
--- a/config-example.php
+++ b/config-example.php
@@ -1,8 +1,21 @@
<?php
-# copy this file, fill, and save as 'config.php'
-define( 'IMAPBOT_PATH_PHAB', '/path/to/phabricator' );
-define( 'IMAPBOT_PATH_SPOOLER', '/path/to/php-imap-spooler/class-IMAPSpooler.php' );
-define( 'IMAPBOT_IMAP_MAILBOX', '{HOST:PORT/ssl}INBOX' ); // HOST example: foo.it, PORT example: 993
+# 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' );
-define( 'IMAPBOT_CYCLE_SLEEP', 10 );
+
+# 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' );

File Metadata

Mime Type
text/x-diff
Expires
Wed, Nov 18, 23:51 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263469
Default Alt Text
(1 KB)

Event Timeline