XD where?<?php/********************************************************************* class.mailer.php osTicket mailer It's mainly PEAR MAIL wrapper for now (more improvements planned). Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4:**********************************************************************/ /******* Static functions ************/ //Emails using native php mail function - if DB connection doesn't exist. //Don't use this function if you can help it. function sendmail($to, $subject, $message, $from) { $mailer = new Mailer(null, array('notice'=>true, 'nobounce'=>true)); $mailer->setFromAddress($from); return $mailer->send($to, $subject, $message); }}?>