diff --git a/library/MailUtils.php b/library/MailUtils.php new file mode 100644 index 0000000000000000000000000000000000000000..44b1f48ebfcae3ba50096fdb2b28d00fb55a055d --- /dev/null +++ b/library/MailUtils.php @@ -0,0 +1,22 @@ +<?php + +class MailUtils +{ + private function __construct() + { + } + + public static function sendMail($setFrom, $setBCC, $recipients, $body, $signature, $subject, $receipt, $attachments) + { + $mail_controller = new \FusionDirectory\Mail\MailLib($setFrom, + $setBCC, + $recipients, + $body, + $signature, + $subject, + $receipt, + $attachments); + + return $mail_controller->sendMail(); + } +} \ No newline at end of file