Commit f19b7447 authored by Oana-Eliza Alexa's avatar Oana-Eliza Alexa
Browse files

Add mail utils

1 merge request!76Draft: Resolve "Redesign notifications class"
Showing with 22 additions and 0 deletions
+22 -0
<?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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment