diff --git a/social/email/61-email.html b/social/email/61-email.html
index e18243cb..baaa0ac1 100644
--- a/social/email/61-email.html
+++ b/social/email/61-email.html
@@ -68,11 +68,15 @@
you can also specify any or all of: msg.cc
, msg.bcc
, msg.replyTo
, msg.inReplyTo
, msg.references
properties.
You may optionally set msg.from
in the payload which will override the userid
default value.
If you are accessing GMail you may need to either enable an application password, + or enable less secure access via your Google account settings.
+The payload can be html format.
If the payload is a binary buffer then it will be converted to an attachment.
The filename should be set using msg.filename
. Optionally msg.description
can be added for the body text.
Alternatively you may provide msg.attachments
which should contain an array of one or
- more attachments in nodemailer format.
If required by your recipient you may also pass in a msg.envelope
object, typically containing extra from and to properties.
If you have own signed certificates, Nodemailer can complain about that and refuse sending the message. In this case you can try switching off TLS.
Note: uses SMTP with SSL to port 465.
diff --git a/social/email/README.md b/social/email/README.md index 2ccf5249..198eccf1 100644 --- a/social/email/README.md +++ b/social/email/README.md @@ -24,6 +24,11 @@ Node-RED user directory - typically `~/.node-red` cd ~/.node-red npm i node-red-node-email +GMail users +----------- + +If you are accessing GMail you may need to either enable an application password, +or enable less secure access via your Google account settings. Usage ----- @@ -64,6 +69,6 @@ The filename should be set using `msg.filename`. Optionally `msg.description` can be added for the body text. Alternatively you may provide `msg.attachments` which should contain an array of one or -more attachments in nodemailer format. +more attachments in nodemailer format. Uses the *nodemailer* npm module. diff --git a/social/email/package.json b/social/email/package.json index c71e3e38..5a4a69a8 100644 --- a/social/email/package.json +++ b/social/email/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-email", - "version": "1.6.2", + "version": "1.6.3", "description": "Node-RED nodes to send and receive simple emails", "dependencies": { "imap": "^0.8.19",