-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsimple-sendmail.html
More file actions
55 lines (53 loc) · 1.33 KB
/
simple-sendmail.html
File metadata and controls
55 lines (53 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<script type="text/javascript">
RED.nodes.registerType("simple-sendmail",{
category: "social",
color: "#81D4FA",
defaults: {
name: {value: ""}
},
inputs: 1,
outputs: 1,
icon: "mail.png",
label: function() {
return this.name || "send mail";
}
});
</script>
<script type="text/x-red" data-template-name="simple-sendmail">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="simple-sendmail">
<h3>Inputs</h3>
<dl class="message-properties" style="display: block;">
<dt>SMTP Server</dt>
<dd>
<ul>
<li>msg.mail.transport.host</li>
<li>msg.mail.transport.port</li>
<li>msg.mail.transport.auth.user</li>
<li>msg.mail.transport.auth.pass</li>
</ul>
<dd>
<dt>Mail</dt>
<dd>
<ul>
<li>msg.mail.options.from</li>
<li>msg.mail.options.to</li>
<li>msg.mail.options.subject</li>
<li>msg.mail.options.text</li>
</ul>
</dd>
</dl>
<h3>Outputs</h3>
<dl class="message-properties" style="display: block;">
<dt>nodemailer response</dt>
<dd>
<ul>
<li>msg.payload</li>
</ul>
<dd>
</dl>
</script>