mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/ARCHIVED-IZYIM.git
synced 2026-08-19 12:24:06 +00:00
22 lines
682 B
PHP
Executable File
22 lines
682 B
PHP
Executable File
<?php
|
|
|
|
// function sendMail($to, $message, $subject) {
|
|
// global $app;
|
|
// $mailsetting = unserialize(getSetting("mail"));
|
|
// if ($mailsetting != "") {
|
|
// $message = \Swift_Message::newInstance()
|
|
// ->setSubject($subject)
|
|
// ->setFrom(array($mailsetting["username"] => $mailsetting["sender"]))
|
|
// ->setTo(array($to))
|
|
// ->setBody($message, 'text/html');
|
|
// $app['mailer']->send($message);
|
|
// }
|
|
// }
|
|
|
|
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|