mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Added send mail function
This commit is contained in:
parent
48f7fa50dd
commit
4a4f52c459
@ -17,4 +17,5 @@ $email_smtpServer = '127.0.0.1';
|
||||
$email_smtpPort = 25;
|
||||
$email_username = '';
|
||||
$email_password = '';
|
||||
|
||||
?>
|
@ -2752,7 +2752,7 @@ function send_email_to_user ($to, $body, $subject) {
|
||||
$message->setBody($body, 'text/html');
|
||||
|
||||
ini_restore ('sendmail_from');
|
||||
html_debug("AAAA", true);
|
||||
|
||||
$result = $mailer->send($message);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user