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
bf3b5271
Commit
bf3b5271
authored
1 year ago
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
do_not_send => redirect
parent
7b05d651
No related branches found
No related tags found
No related merge requests found
Pipeline
#22408
passed
1 year ago
Stage: publish
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+5
-0
5 additions, 0 deletions
CHANGELOG
src/UnicaenMail/Controller/MailController.php
+4
-2
4 additions, 2 deletions
src/UnicaenMail/Controller/MailController.php
with
9 additions
and
2 deletions
CHANGELOG
0 → 100644
+
5
−
0
View file @
bf3b5271
6.0.6
* Possibilité de désactiver l'envoi de mail
* "do_not_send" est renommé en "redirect"
* un nouveau paramètre "do_not_send" n'envoie pas le mail
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/UnicaenMail/Controller/MailController.php
+
4
−
2
View file @
bf3b5271
...
...
@@ -39,9 +39,11 @@ class MailController extends AbstractActionController {
return
[
'title'
=>
"Envoyer un mail de test"
,
'error'
=>
"L'adresse mail saisie n'est pas valide."
];
}
$mail
=
$this
->
getMailService
()
->
sendMail
(
$data
[
'mail-to'
],
'Mail de test'
,
'Ceci est un mail de test. <br/> <hr/>Merci de ne pas en tenir compte.'
);
if
(
$mail
){
$mail
->
setMotsClefs
([
'TEST'
]);
$this
->
getMailService
()
->
update
(
$mail
);
}
}
return
[
'title'
=>
"Envoyer un mail de test"
];
}
...
...
This diff is collapsed.
Click to expand it.
Laurent Lecluse
@lecluse
mentioned in commit
5babd0bf
·
1 year ago
mentioned in commit
5babd0bf
mentioned in commit 5babd0bf5308151e5f659788ceb5f55c9f0e33a6
Toggle commit list
Laurent Lecluse
@lecluse
mentioned in commit
98479089
·
1 year ago
mentioned in commit
98479089
mentioned in commit 9847908983352586e88252d8844bc8e5ae0d45f6
Toggle commit list
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