Skip to content

Commit

Permalink
Merge pull request #865 from mission-apprentissage/changement-expedit…
Browse files Browse the repository at this point in the history
…eur-mail

changement expediteur mail
  • Loading branch information
rsauvair authored Jul 25, 2022
2 parents b0f5b6c + 4a196bc commit f3a03a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/common/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = (transporter = createTransporter({ ...config.smtp, secure: fals
});

return transporter.sendMail({
from: "no-reply@apprentissage.beta.gouv.fr",
from: "no-reply@celia.emploi.gouv.fr",
to,
subject,
html: await renderEmail(emailTemplateContent),
Expand Down
2 changes: 1 addition & 1 deletion server/tests/integration/http/password-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("[Routes] Password", () => {
let emailsSent = getEmailsSent();
assert.strictEqual(emailsSent.length, 1);
assert.strictEqual(emailsSent[0].to, "[email protected]");
assert.strictEqual(emailsSent[0].from, "no-reply@apprentissage.beta.gouv.fr");
assert.strictEqual(emailsSent[0].from, "no-reply@celia.emploi.gouv.fr");
assert.ok(emailsSent[0].subject.indexOf("Réinitialiser votre mot de passe") !== -1);
});

Expand Down

0 comments on commit f3a03a7

Please sign in to comment.