2020-11-29 01:55:31 +01:00
|
|
|
<?php
|
|
|
|
# Server info and credentials for sending email
|
|
|
|
# (sending mail requires PHPMailer package installed)
|
|
|
|
|
2021-02-01 10:12:25 +01:00
|
|
|
$phpmailer['phpmailer'] = '/usr/share/php/libphp-phpmailer/src/PHPMailer.php';
|
|
|
|
$phpmailer['smtp'] = '/usr/share/php/libphp-phpmailer/src/SMTP.php';
|
2022-10-30 04:37:15 +01:00
|
|
|
$phpmailer['exception'] = '/usr/share/php/libphp-phpmailer/src/Exception.php';
|
2020-11-29 01:55:31 +01:00
|
|
|
|
|
|
|
$mailer = array();
|
|
|
|
$mailer['host'] = "mail.example.com";
|
|
|
|
$mailer['port'] = "587";
|
|
|
|
$mailer['username'] = "username";
|
|
|
|
$mailer['password'] = "password";
|
|
|
|
|
|
|
|
require $phpmailer['phpmailer'];
|
|
|
|
require $phpmailer['smtp'];
|
|
|
|
?>
|