如何更改mailjet中的默认fromEmail?

How to change the default fromEmail in mailjet?

我正在使用 Mailjet 服务在我的节点应用程序中发送电子邮件。 如何更改默认发件人姓名和电子邮件。 我试图在 Mailjet 发送 api 函数中传递 fromName 和 fromEmail, 但它不起作用。它显示默认的 fromEmail 和 FromName。

为了从特定地址发送电子邮件,它应该事先添加到您的 Mailjet 管理控制台中。

来自Make yout first request

First, you need to have at least one active sender address in the Mailjet system. Visit the Sender domains & addresses section to check and setup your domain and sender.

您有 2 个选项 Sender domains & addresses

选项 1:添加域

Configuring a whole domain ensures that all your sender addresses tied to that domain name will be automatically validated when they show up for the first time in our system.

选项 2:添加个人电子邮件地址

This is the fastest way for small websites. This is also recommended if you are using a free web host and don't have FTP access.