Updated README to expand the way `msg.from` works (#654)

This commit is contained in:
juggledad 2020-05-23 02:57:31 -04:00 committed by GitHub
parent 18afc438da
commit 3afc2622f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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.