mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add gmail access info to readme and info
This commit is contained in:
parent
d1cf309214
commit
6682320c97
@ -68,11 +68,15 @@
|
|||||||
you can also specify any or all of: <code>msg.cc</code>, <code>msg.bcc</code>, <code>msg.replyTo</code>, <code>msg.inReplyTo</code>, <code>msg.references</code> properties.</p>
|
you can also specify any or all of: <code>msg.cc</code>, <code>msg.bcc</code>, <code>msg.replyTo</code>, <code>msg.inReplyTo</code>, <code>msg.references</code> properties.</p>
|
||||||
<p>You may optionally set <code>msg.from</code> in the payload which will override the <code>userid</code>
|
<p>You may optionally set <code>msg.from</code> in the payload which will override the <code>userid</code>
|
||||||
default value.</p>
|
default value.</p>
|
||||||
|
<h3>GMail users</h3>
|
||||||
|
<p>If you are accessing GMail you may need to either enable <a target="_new" href="https://support.google.com/mail/answer/185833?hl=en">an application password</a>,
|
||||||
|
or enable <a target="_new" href="https://support.google.com/accounts/answer/6010255?hl=en">less secure access</a> via your Google account settings.</p>
|
||||||
|
<h3>Details</h3>
|
||||||
<p>The payload can be html format.</p>
|
<p>The payload can be html format.</p>
|
||||||
<p>If the payload is a binary buffer then it will be converted to an attachment.
|
<p>If the payload is a binary buffer then it will be converted to an attachment.
|
||||||
The filename should be set using <code>msg.filename</code>. Optionally <code>msg.description</code> can be added for the body text.</p>
|
The filename should be set using <code>msg.filename</code>. Optionally <code>msg.description</code> can be added for the body text.</p>
|
||||||
<p>Alternatively you may provide <code>msg.attachments</code> which should contain an array of one or
|
<p>Alternatively you may provide <code>msg.attachments</code> which should contain an array of one or
|
||||||
more attachments in <a href="https://www.npmjs.com/package/nodemailer#attachments" target="_new">nodemailer</a> format.</p>
|
more attachments in <a href="https://nodemailer.com/message/attachments/" target="_new">nodemailer</a> format.</p>
|
||||||
<p>If required by your recipient you may also pass in a <code>msg.envelope</code> object, typically containing extra from and to properties.</p>
|
<p>If required by your recipient you may also pass in a <code>msg.envelope</code> object, typically containing extra from and to properties.</p>
|
||||||
<p>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.</p>
|
<p>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.</p>
|
||||||
<p>Note: uses SMTP with SSL to port 465.</p>
|
<p>Note: uses SMTP with SSL to port 465.</p>
|
||||||
|
@ -24,6 +24,11 @@ Node-RED user directory - typically `~/.node-red`
|
|||||||
cd ~/.node-red
|
cd ~/.node-red
|
||||||
npm i node-red-node-email
|
npm i node-red-node-email
|
||||||
|
|
||||||
|
GMail users
|
||||||
|
-----------
|
||||||
|
|
||||||
|
If you are accessing GMail you may need to either enable <a target="_new" href="https://support.google.com/mail/answer/185833?hl=en">an application password</a>,
|
||||||
|
or enable <a target="_new" href="https://support.google.com/accounts/answer/6010255?hl=en">less secure access</a> via your Google account settings.</p>
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
@ -64,6 +69,6 @@ The filename should be set using `msg.filename`. Optionally
|
|||||||
`msg.description` can be added for the body text.
|
`msg.description` can be added for the body text.
|
||||||
|
|
||||||
Alternatively you may provide `msg.attachments` which should contain an array of one or
|
Alternatively you may provide `msg.attachments` which should contain an array of one or
|
||||||
more attachments in <a href="https://www.npmjs.com/package/nodemailer#attachments" target="_new">nodemailer</a> format.
|
more attachments in <a href="https://nodemailer.com/message/attachments/" target="_new">nodemailer</a> format.
|
||||||
|
|
||||||
Uses the *nodemailer* npm module.
|
Uses the *nodemailer* npm module.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-email",
|
"name": "node-red-node-email",
|
||||||
"version": "1.6.2",
|
"version": "1.6.3",
|
||||||
"description": "Node-RED nodes to send and receive simple emails",
|
"description": "Node-RED nodes to send and receive simple emails",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"imap": "^0.8.19",
|
"imap": "^0.8.19",
|
||||||
|
Loading…
Reference in New Issue
Block a user