2022-02-03 13:05:17 +00:00
< ? php
2022-02-10 12:50:46 +00:00
define ( " NC_SERVER " , " localhost " ); // https://server.domain (without "https://" attachments will not be created)
2022-02-03 13:05:17 +00:00
define ( " NC_USER " , " deckbot " );
2022-05-26 20:54:29 +00:00
define ( " NC_PASSWORD " , " **** " ); // if your Nextcloud instance uses Two-Factor-Authentication, use generated token here instead of password.
2022-02-03 13:05:17 +00:00
define ( " MAIL_SERVER " , " localhost " ); // server.domain
define ( " MAIL_SERVER_FLAGS " , " /novalidate-cert " ); // flags needed to connect to server. Refer to https://www.php.net/manual/en/function.imap-open.php for a list of valid flags.
define ( " MAIL_SERVER_PORT " , " 143 " );
2022-04-29 11:13:48 +00:00
define ( " MAIL_SERVER_SMTPPORT " , " 587 " ); // port for outgoing smtp server. Actually only used to configure Docker image outgoing SMTP Server
2022-02-03 13:05:17 +00:00
define ( " MAIL_USER " , " incoming " );
define ( " MAIL_PASSWORD " , " **** " );
define ( " DECODE_SPECIAL_CHARACTERS " , true ); //requires mbstring, if false special characters (like öäüß) won't be displayed correctly
2022-02-04 08:46:44 +00:00
define ( " ASSIGN_SENDER " , true ); // if true, sender will be assigned to card if has NC account
2022-03-04 10:27:10 +00:00
define ( " MAIL_NOTIFICATION " , true ); // if true, send notifications when a new card was created or an error occured
2022-05-17 08:52:56 +00:00
define ( " DELETE_MAIL_AFTER_PROCESSING " , true );