diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-04-12 16:31:01 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-04-12 16:31:01 -0400 |
| commit | 97b6de6aa437f7a913a33b9e6aa18a919faf2caf (patch) | |
| tree | 431e12a535baf1d2ad59601ee7c5e8084ae7a263 /backend/src/mail.js | |
| parent | d22616d5a675f5a381c741784333151255713b45 (diff) | |
a whole bunch of things that should be in their own commits
Diffstat (limited to 'backend/src/mail.js')
| -rw-r--r-- | backend/src/mail.js | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/backend/src/mail.js b/backend/src/mail.js index 3159fe2..fc4a47b 100644 --- a/backend/src/mail.js +++ b/backend/src/mail.js @@ -9,4 +9,20 @@ const transport = nodemailer.createTransport({ }, }); -module.exports = transport; +const makeANiceEmail = text => ` + <div className="email" style=" + border:1px solid black; + padding: 20px; + font-family: sans-serif; + line-height: 2; + font-size: 20px; + "> + <h2>Hello There</h2> + <p>${text}</p> + + <p>😘 Wes Bos</p> + </div> +`; + +exports.transport = transport; +exports.makeANiceEmail = makeANiceEmail; |
