Skip to content

Commit f8b2e89

Browse files
committed
build: 3.0.3
1 parent e610521 commit f8b2e89

6 files changed

Lines changed: 58 additions & 20 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="http://runnerty.io">
33
<img height="257" src="https://runnerty.io/assets/header/logo-stroked.png">
44
</a>
5-
<p align="center">A new way for processes managing</p>
5+
<p align="center">Smart Processes Management</p>
66
</p>
77

88
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runnerty/executor-mail",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "Runnerty module: Mail executor",
55
"author": "Runnerty Tech",
66
"license": "MIT",
@@ -27,7 +27,7 @@
2727
"nodemailer": "~6.4.18"
2828
},
2929
"devDependencies": {
30-
"eslint": "^7.19.0",
30+
"eslint": "^7.20.0",
3131
"eslint-config-prettier": "^7.2.0",
3232
"eslint-plugin-prettier": "^3.3.1",
3333
"prettier": "^2.2.1"

scaffold/assets/templates/mail-notification/html.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@
142142
>
143143
@GV(message)
144144
<br /><br />
145-
Value: @GV(value_one)
146-
<br /><br />
147-
Date: @GV(sample_date)
148-
<br /><br />
145+
Value ONE: <%= value_one %>
146+
<br />
147+
Date Sample: <%= sample_date %>
149148
</div>
150149
</td>
151150
</tr>

scaffold/config.json

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,23 @@
33
{
44
"id": "mail_smtp",
55
"type": "@runnerty-executor-mail",
6-
"disable": false,
76
"from": "Runnerty Notificator <sample@runnerty.io>",
87
"transport": "smtp://my%mailsender.com:pass@smtp.host.com/?pool=true",
98
"bcc": ["mycc@mail.com"],
109
"templateDir": "./templates",
1110
"template": "mail-notification",
11+
"attachments": [
12+
{
13+
"filename": "runnerty.png",
14+
"path": "./templates/mail-notification/runnerty.png",
15+
"cid": "cidrunnerty@runnerty.png"
16+
}
17+
],
1218
"ejsRender": true
1319
},
1420
{
1521
"id": "mail_aws_ses",
1622
"type": "@runnerty-executor-mail",
17-
"disable": false,
1823
"from": "Runnerty <hello@runnerty.io>",
1924
"transport": {
2025
"host": "email-smtp.eu-west-1.amazonaws.com",
@@ -27,6 +32,40 @@
2732
},
2833
"templateDir": "./templates",
2934
"template": "mail-notification",
35+
"attachments": [
36+
{
37+
"filename": "runnerty.png",
38+
"path": "./templates/mail-notification/runnerty.png",
39+
"cid": "cidrunnerty@runnerty.png"
40+
}
41+
],
42+
"ejsRender": true
43+
},
44+
{
45+
"id": "mail_sparkpost",
46+
"type": "@runnerty-executor-mail",
47+
"from": "Runnerty <hello@runnerty.io>",
48+
"transport": {
49+
"host": "smtp.eu.sparkpostmail.com",
50+
"port": 587,
51+
"secure": false,
52+
"tls": {
53+
"ciphers": "SSLv3"
54+
},
55+
"auth": {
56+
"user": "SMTP_Injection",
57+
"pass": "sparkpost_api_key"
58+
}
59+
},
60+
"templateDir": "./templates",
61+
"attachments": [
62+
{
63+
"filename": "runnerty.png",
64+
"path": "./templates/mail-notification/runnerty.png",
65+
"cid": "cidrunnerty@runnerty.png"
66+
}
67+
],
68+
"template": "mail-notification",
3069
"ejsRender": true
3170
}
3271
]

scaffold/plan.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"id": "MAIL_SIMPLE",
3333
"name": "MYSQL COMMAND SAMPLE",
3434
"exec": {
35-
"id": "mail_default",
35+
"id": "mail_smtp",
3636
"to": ["my@mail.com"],
3737
"title": "Runnerty Mailer",
3838
"message": "My message from Runnerty!",

0 commit comments

Comments
 (0)