Commit Graph

43 Commits

Author SHA1 Message Date
Simon Tremblay
19516a4a58
fix #176 by removing useless warning message (#177) 2023-08-19 08:57:30 +02:00
Benjy Weinberger
3c0bbc53ef
Support reading the subject from a file. (#173)
Allows dynamic subjects to be generated at action runtime
(e.g., "Foobar version 1.2.3 is released", where 1.2.3
is not known at action config time).

Leverages the existing file:// support for body, but renames
getBody to getText, in keeping with this expanded role.
2023-08-08 14:24:30 +02:00
Alon Bar-Lev
07d4810b3b
Add connection_url input parameter (#131)
Specify connection via URL (replaces server_address, server_port,
secure, username and password)

Format:

 * smtp://user:password@server:port
 * smtp+starttls://user:password@server:port

Closes: #127
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2022-09-09 18:53:48 +02:00
Dawid Dziurla
924d1fedb2
Revert "Add connection_url input parameter (#128)" (#130)
This reverts commit 602f9d1725.
2022-09-01 23:36:08 +02:00
Alon Bar-Lev
602f9d1725
Add connection_url input parameter (#128)
Specify connection via URL (replaces server_address, server_port,
secure, username and password)

Format:

 * smtp://user:password@server:port
 * smtp+starttls://user:password@server:port

Closes: #127
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2022-09-01 23:14:42 +02:00
Dawid Dziurla
6d23605227
main: set filename of attachments 2022-03-24 19:30:26 +01:00
Matthieu Baerts
ba46013833
Add ability to set In-Reply-To tag (#81)
* Add ability to set In-Reply-To tag

This is useful to reply to a specific email, e.g. to a patch sent by
email on a mailing list.

Please note that both the In-Reply-To and the References tags are
filled-in. In theory, only the In-Reply-To tag should be enough but they
are both linked to the same idea and in theory most emails readers
should support a Message-ID given in In-Reply-To tag. So just in case,
we fill both to imitate many email clients.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>

* Update test.yml

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-10-17 09:45:58 +02:00
Daniel Homola
4ef78fc181
Adding CID tags for attachments (#75) 2021-08-28 21:54:12 +02:00
Dawid Dziurla
a1ab281c6f
main: that's it 2021-07-13 18:38:35 +02:00
Dawid Dziurla
47d3268091
main: debug 2021-07-13 18:35:57 +02:00
Dawid Dziurla
68e6c95e79
main: fix attachments 2021-07-13 18:30:04 +02:00
Simon R
b9bedb34a4
Resolve attachments via glob 2021-07-13 18:20:02 +02:00
cbbm142
44663f34dd
Added ability to adjust priority to the mail message (#66) (#67)
* Added ability to adjust priority to the mail message (#66)

Co-authored-by: John Pastore <cbbm142@github.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-02 18:33:56 +02:00
Javier de Pedro López
db36373cbe
🤘 Implementation for #59 to support username and password as optional (#60)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-06-14 20:04:27 +02:00
a08381
98b61f505d
Make custom secure ports available (#51) 2021-05-03 18:02:47 +02:00
Dawid Dziurla
63f6c7e5d2
main: don't convert markdown in plain body ever 2021-04-25 16:19:34 +02:00
Dawid Dziurla
b738850ab1
main: style fix 2021-04-25 16:14:13 +02:00
Jiacai Liu
c938b3cb85
support multipart email (#48)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-04-25 16:11:54 +02:00
Dominik Krzywiecki
3ce6fdc63e
Add replyTo field support (#41)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-04-07 19:34:58 +02:00
Dawid Dziurla
f1b626cfd4
main: fix 2021-04-02 09:11:00 +02:00
Dawid Dziurla
3082f5221c
main: ignore cert if desired 2021-04-02 00:00:57 +02:00
Dawid Dziurla
16840503b7
main: remove logging 2021-02-18 20:11:29 +01:00
Jim Filippou
ee4d8deb11
Add cc & bcc 2020-12-16 18:55:38 +01:00
dougpagani
2095e6ffe3
Add markdown format support (#25)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2020-11-30 18:51:34 +01:00
Dawid Dziurla
edca34ffa5
main: log only transport options 2020-09-24 10:27:30 +02:00
Dawid Dziurla
4effcb0f30
main: log transport 2020-09-24 10:24:29 +02:00
Roman Isko
02fea7e898 Refactor parse attachments. Rename field 2020-04-07 11:30:45 +03:00
Roman Isko
c2ca628a67 Attach multiple files to mail message 2020-04-07 11:14:31 +03:00
Roman Isko
a5cba0b6c1 Do not add attachment in case it's not specified 2020-04-07 09:50:06 +03:00
Roman Isko
d4b4fe8144 Add possibility to attach a file to mail 2020-04-07 09:46:19 +03:00
Dawid Dziurla
f00590fc1a
main: allow two variants of from 2020-03-25 16:18:35 +01:00
Dawid Dziurla
b27f0d4766
main: pass from input as is 2020-03-25 16:06:11 +01:00
Dawid Dziurla
f2e1b7650c
main: don't set content-type header 2020-03-24 14:03:35 +01:00
Dawid Dziurla
09f36a9696
main: set content-type header in transport 2020-03-24 13:59:57 +01:00
Dawid Dziurla
7dcd3223b9
main: restore content_type and delete html 2020-03-24 13:32:53 +01:00
Dawid Dziurla
8b0be78c90
main: use console.log
core.info does not print objects
2020-03-05 23:26:38 +01:00
Dawid Dziurla
cc89fb17b6
main: info toString 2020-03-05 23:26:37 +01:00
Dawid Dziurla
7b4177494b
main: use const 2020-03-05 23:26:37 +01:00
Dawid Dziurla
8465ba4d6e
main: use core.info instead of console.log 2020-03-05 23:26:37 +01:00
Dawid Dziurla
8c2729a391
main: specify enconding rather than converting buffer to string 2020-03-05 23:26:36 +01:00
Dawid Dziurla
ae7db41acb
main: try catch block 2020-03-05 23:26:36 +01:00
Dawid Dziurla
3e56585910
main: fix html input 2020-03-05 23:26:35 +01:00
Dawid Dziurla
fa231fb236
initial javascript rewrite 2020-03-05 23:26:34 +01:00