Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
mail
Commits
0366b999
Commit
0366b999
authored
1 month ago
by
Jean-Philippe Metivier
Browse files
Options
Downloads
Patches
Plain Diff
Fix envoi multiple (avec la syntax ...)
parent
2076e955
No related branches found
Branches containing commit
Tags
7.0.1
Tags containing commit
No related merge requests found
Pipeline
#33692
passed
1 month ago
Stage: publish
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/UnicaenMail/Service/Mail/MailService.php
+2
-2
2 additions, 2 deletions
src/UnicaenMail/Service/Mail/MailService.php
with
2 additions
and
2 deletions
src/UnicaenMail/Service/Mail/MailService.php
+
2
−
2
View file @
0366b999
...
...
@@ -166,8 +166,8 @@ class MailService {
throw
new
RuntimeException
(
"Un problème est survenu lors de la récupération de valeurs de config"
,
0
,
$e
);
}
$to
=
(
is_string
(
$mail
->
getDestinataires
()))
?
[
$mail
->
getDestinataires
()]
:
$mail
->
getDestinataires
();
$co
=
(
is_string
(
$mail
->
getCopies
()))
?
[
$mail
->
getCopies
()]
:
$mail
->
getCopies
();
$to
=
(
is_string
(
$mail
->
getDestinataires
()))
?
explode
(
','
,
$mail
->
getDestinataires
()
)
:
[]
;
$co
=
(
is_string
(
$mail
->
getCopies
()))
?
explode
(
','
,
$mail
->
getCopies
()
)
:
[]
;
$sujet
=
"["
.
$subjectPrefix
.
"] "
.
$mail
->
getSujet
();
$corps
=
"<p><i>Ce courrier électronique vous a été adressé <strong>automatiquement</strong> par l'application "
.
$subjectPrefix
.
". </i></p>"
.
$mail
->
getCorps
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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