mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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_smtpPort = 25;
|
||||||
$email_username = '';
|
$email_username = '';
|
||||||
$email_password = '';
|
$email_password = '';
|
||||||
|
|
||||||
?>
|
?>
|
@ -2752,7 +2752,7 @@ function send_email_to_user ($to, $body, $subject) {
|
|||||||
$message->setBody($body, 'text/html');
|
$message->setBody($body, 'text/html');
|
||||||
|
|
||||||
ini_restore ('sendmail_from');
|
ini_restore ('sendmail_from');
|
||||||
html_debug("AAAA", true);
|
|
||||||
$result = $mailer->send($message);
|
$result = $mailer->send($message);
|
||||||
}
|
}
|
||||||
catch (Exception $e) {
|
catch (Exception $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user