Skip to content

Commit

Permalink
feat: add email in contact template
Browse files Browse the repository at this point in the history
  • Loading branch information
baptadn committed Apr 28, 2024
1 parent cd37ed3 commit 76ba20c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion back/api/contact/controllers/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const template = {
html: `
<h1>Bonjour,</h1>
<p>Vous avez reçu un nouveau message de la part de <%= name %></p>
<p>Vous avez reçu un nouveau message de la part de <%= name %> (<%= from %>)</p>
<p>Contenu du message:</p>
<p><%= message %></p>
`,
Expand All @@ -31,6 +31,7 @@ module.exports = {
{
message: entity.message,
name: entity.name,
from: entity.from
}
);

Expand Down

0 comments on commit 76ba20c

Please sign in to comment.