-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beautify test email #4379
Beautify test email #4379
Conversation
@LukasReschke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nickvergessen and @MorrisJobke to be potential reviewers. |
$message->setTo([$email => $this->userSession->getUser()->getDisplayName()]); | ||
$message->setFrom([$this->defaultMailAddress]); | ||
$message->setSubject($this->l10n->t('test email settings')); | ||
$message->setPlainBody('If you received this email, the settings seem to be correct.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was not even translated before 🙈
} | ||
|
||
return array('data' => | ||
array('message' => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this in the other PR today #4372
$message = $this->mailer->createMessage(); | ||
$message->setTo([$email => $this->userSession->getUser()->getDisplayName()]); | ||
$message->setFrom([$this->defaultMailAddress]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from
doesn't seem to be set now – was that intended? 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also #4380 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 👍 thanks
Let me rebase and fix the conflicts. |
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
77eeed6
to
0a54d5a
Compare
Codecov Report
@@ Coverage Diff @@
## master #4379 +/- ##
=========================================
Coverage ? 54.08%
Complexity ? 21589
=========================================
Files ? 1327
Lines ? 82311
Branches ? 1305
=========================================
Hits ? 44519
Misses ? 37792
Partials ? 0
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
vs.