Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
f19b7447
Commit
f19b7447
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
Add mail utils
parent
5556c8f2
80-redesign-notifications-class
1 merge request
!76
Draft: Resolve "Redesign notifications class"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/MailUtils.php
+22
-0
library/MailUtils.php
with
22 additions
and
0 deletions
+22
-0
library/MailUtils.php
0 → 100644
+
22
−
0
View file @
f19b7447
<?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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets