You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: social/email/README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,8 @@ Additionally `msg.header` contains the complete header object including
46
46
47
47
Sends the `msg.payload` as an email, with a subject of `msg.topic`.
48
48
49
-
The default message recipient can be configured in the node, if it is left
50
-
blank it should be set using the `msg.to` property of the incoming message.
49
+
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 can also specify any or all of: `msg.cc`, `msg.bcc`, `msg.replyTo`, `msg.inReplyTo`, `msg.references`, `msg.headers`, or `msg.priority` properties.
50
+
51
51
52
52
The email *from* can be set using `msg.from` but not all mail services allow
53
53
this unless `msg.from` is also a valid userid or email address associated with
@@ -64,4 +64,10 @@ The filename should be set using `msg.filename`. Optionally
64
64
Alternatively you may provide `msg.attachments` which should contain an array of one or
65
65
more attachments in <ahref="https://nodemailer.com/message/attachments/"target="_new">nodemailer</a> format.
66
66
67
-
Uses the *nodemailer* npm module.
67
+
If required by your recipient you may also pass in a `msg.envelope` object, typically containing extra from and to properties.
68
+
69
+
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.
70
+
71
+
Use secure connection - If enabled the connection will use TLS when connecting to server. If disabled then TLS is used if server supports the STARTTLS extension. In most cases set this to enabled if you are connecting to port 465. For port 587 or 25 keep it disabled.
<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>
0 commit comments