# Problem with email node from

**URL:** <https://discourse.nodered.org/t/problem-with-email-node-from/29691>\
**Category:** General\
**Created:** [8 July 2020 02:36 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691 "2020-07-08T02:36:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [8 July 2020 02:36 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691/1 "2020-07-08T02:36:33Z")

</div>

I tried to change the default userid by providing msg.from  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/c/3c18c14fe674d61de025eab5541a08f6fba549fe.png)

But in the email I received, it's a different email address.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bdb0975d13179ee2e40b84f609d2c0095853c19c.png)

The from became: [michael@pstpools.com](mailto:michael@pstpools.com)  
But X-Google-Original-From: has the correct from email address.  
I need the from to be the same as the one I've provided in the msg.from which is [nodered@daddybug.com](mailto:nodered@daddybug.com)

---

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [21 July 2020 06:55 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691/2 "2020-07-21T06:55:39Z")

</div>

Any advise? anyone?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [21 July 2020 09:08 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691/3 "2020-07-21T09:08:45Z")

</div>

If I remember correctly, the from id myst be a valid email address on the mail service you are sending the email thru. I.E. you can not use fake id's. If it is not valid the mail service may/will change it.

---

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [23 July 2020 02:12 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691/4 "2020-07-23T02:12:59Z")

</div>

Thanks for the response @zenofmud  
Is there a way to prevent the emails I sent from appearing in the Sent folder?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 August 2020 02:13 UTC](https://discourse.nodered.org/t/problem-with-email-node-from/29691/5 "2020-08-06T02:13:00Z")

</div>

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