Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15169507
config-example.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
937 B
Referenced Files
None
Subscribers
None
config-example.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Wed, Nov 18, 23:54 (3 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263476
Default Alt Text
config-example.php (937 B)
Attached To
Mode
R14 Phabricator inboud e-mails using IMAP spooler
Attached
Detach File
Event Timeline