Skip to content

Commit a9913df

Browse files
committed
refact: email helper from title
1 parent f32a8d2 commit a9913df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/emailHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const transporter = nodemailer.createTransport({
1616
const sendEmail = async (values: ISendEmail) => {
1717
try {
1818
const info = await transporter.sendMail({
19-
from: `"Simply Good Food" ${config.email.from}`,
19+
from: `${config.server_name} <${config.email.from}>`,
2020
to: values.to,
2121
subject: values.subject,
2222
html: values.html,

0 commit comments

Comments
 (0)