Email sender name

Hi,

I use node-red-node-email to send emails. Is it possible to change the sender name? The emails I got has only the adress as sender. But I want to add a name there. It should looks like:

Node-RED (xyz@gmail.com)

I use gmail with 2 factor authentification.

Thanks in advance
Markus

The from property has to be valid email format.

You could try
Node-Red<xyz@gmail.com> as the from address then the email client may display the name Node-Red

1 Like

No that doesn't work.

But I found a solution. The userid is the gmail address. I combined the the email node with a change node. I added msg.from = Node-RED:xyz@gmail.com. (xyz@gmail.com is your email address)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.