Files
CIEF Dev Team 09421c18b8 Initial commit
2018-03-07 16:15:53 +08:00

22 lines
682 B
PHP

<?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.
*/