fix(integration): 🐛 From name behavior
This commit is contained in:
@ -105,7 +105,9 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|||||||
}
|
}
|
||||||
const transporter = createTransport(transportConfig)
|
const transporter = createTransport(transportConfig)
|
||||||
const email: Mail.Options = {
|
const email: Mail.Options = {
|
||||||
from: `"${replyToName ?? from.name}" <${from.email}>`,
|
from: `"${isEmpty(replyToName) ? from.name : replyToName}" <${
|
||||||
|
from.email
|
||||||
|
}>`,
|
||||||
cc,
|
cc,
|
||||||
bcc,
|
bcc,
|
||||||
to: recipients,
|
to: recipients,
|
||||||
|
Reference in New Issue
Block a user