# Modify the properties of a node

**URL:** <https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026>\
**Category:** Dashboard\
**Created:** [21 May 2020 09:25 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026 "2020-05-21T09:25:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [21 May 2020 09:25 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/1 "2020-05-21T09:25:43Z")

</div>

Hi All. How can I edit these properties from Dashboard via an input text.

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

---

<div class="post-metadata">

**Author:** ![cigno](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cigno/32/91812_2.png) [@cigno](https://discourse.nodered.org/u/cigno)\
**Post date:** [21 May 2020 09:28 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/2 "2020-05-21T09:28:33Z")

</div>

I would like to modify these properties from here how can I do?

 ![Annotazione 2020-05-21 112659](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/d/9db802bddd0f8e25d8bd1d2ae47956081c6f5483.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 May 2020 09:44 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/3 "2020-05-21T09:44:29Z")

</div>

Dont think you can override password but others can be set according to the built in help

click the email node, open the info panel on the right, read it.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/0/50bfb7d82a41d9e9801d49823379aa1983b8e779.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 May 2020 10:24 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/4 "2020-05-21T10:24:05Z")

</div>

You can't override the userid either. (You can set the from id if it is different to the userid)

---

<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 May 2020 12:23 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/6 "2020-05-21T12:23:03Z")

</div>

@dceejay Dave, the last part of what @Steve-Mcl posted

You may optionally set `msg.from` in the payload which will override the `userid` default value.

implies you can dynamically set the from/userid. I just tested and I get an error if I use msg.from and in the node. the `userid` is blank or filled in with a bad id. If the `userid` is filled in, and I send in `msg.from` the message is sent, but in the email message I get 'No Sender'

Is this a bug?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 May 2020 13:50 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/7 "2020-05-21T13:50:00Z")

</div>

maybe, but... you "must" have a userid as that is the account the password refers to... - you should then be able to optionally set the from by using msg.from. BUT some (more and more) email services don't let you do that, so although you specify it they may reject it if the from is also not a valid email address (to them). IE to stop spam from random addresses.

---

<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 May 2020 14:14 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/8 "2020-05-21T14:14:06Z")

</div>

I was going to suggest a PR that the `msg.from` option be removed, but it 'might' effect someone's existing flow ☹ but how about a PR to change the text to read:

> You may optionally set `msg.from` in the payload to override `userid` but it `must` be a valid userid associated with the password.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 May 2020 15:01 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/9 "2020-05-21T15:01:18Z")

</div>

Yes - someone specifically requested it. maybe more like

"The From id can be set differently from the userid by using msg.from, but not all mail services allow this unless the from id is also a valid address."

---

<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:** [20 June 2020 15:01 UTC](https://discourse.nodered.org/t/modify-the-properties-of-a-node/27026/10 "2020-06-20T15:01:24Z")

</div>

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