16 lines
547 B
PHP
16 lines
547 B
PHP
<?php
|
|
/**
|
|
* Configuration SMTP.
|
|
*/
|
|
|
|
require_once __DIR__ . '/bootstrap.php';
|
|
|
|
if (!defined('SMTP_HOST')) {
|
|
define('SMTP_HOST', config_required('smtp_host'));
|
|
define('SMTP_PORT', config_int('smtp_port', 587));
|
|
define('SMTP_USER', config_required('smtp_user'));
|
|
define('SMTP_PASS', config_required('smtp_pass'));
|
|
define('SMTP_FROM_EMAIL', config_required('smtp_from_email'));
|
|
define('SMTP_FROM_NAME', config_required('smtp_from_name'));
|
|
define('NOTIFY_EMAIL', (string) config_value('notify_email', SMTP_FROM_EMAIL));
|
|
}
|