Files
ARCHIVED-IZYIM/includes/func.class/mailer.func.php
T
CIEF Dev Team 4716562987 Initial commit
2018-03-06 13:21:45 +00:00

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