From 3afc2622f365beb6907c99bc464ba2420046676a Mon Sep 17 00:00:00 2001 From: juggledad Date: Sat, 23 May 2020 02:57:31 -0400 Subject: [PATCH] Updated README to expand the way `msg.from` works (#654) --- social/email/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/social/email/README.md b/social/email/README.md index 198eccf1..8a096719 100644 --- a/social/email/README.md +++ b/social/email/README.md @@ -58,8 +58,10 @@ Sends the `msg.payload` as an email, with a subject of `msg.topic`. The default message recipient can be configured in the node, if it is left blank it should be set using the `msg.to` property of the incoming message. -You may optionally override the *from* email address by setting `msg.from`, -otherwise the node will use the `userid` setting from the server connection. +The email *from* can be set using `msg.from` but not all mail services allow +this unless `msg.from` is also a valid userid or email address associated with +the password. Note: if `userid` or msg.from does not contain a valid email +address (userxx@some_domain.com), you may see (No Sender) in the email. The payload can be html format.