Skip to content

Commit becee5a

Browse files
authored
release 1.0 (#15)
* add tls option, deprecate connectTLS * change readme, remove connectTLS * remove connectTLS * add return to pool; remove autoconnect * fix * change config * cleanup mod.ts * a lot of cleanup * remove private field * security change * total code restructure * make connection external * change readCMD implemation to accept multiline * extrakt que * add preproccessor * format code * format md * lint, fmt * rename some files * some file renames * tsdoc quotedPrintable * add tsdocs * bugfixes * test docker * fix typo * ... * test * test fake mailer * add first test * fix first test * format files * add second test * add better types * add more tests * add some docs * fmt * fix security boundary escape * fix boundary escape * fmt * add docs for new Client * add docs for sending
1 parent ad22af0 commit becee5a

30 files changed

+1954
-1113
lines changed

.env

-6
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

+21-9
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,37 @@ assignees: mathe42
88
---
99

1010
<!-- For security relevant bugs please contact us via mail! -->
11-
**Describe the bug**
11+
12+
## Describe the bug
13+
1214
A clear and concise description of what the bug is.
1315

14-
**To Reproduce**
15-
Provide a code example (without your actual password etc.) make it as minimal as you can.
16+
## To Reproduce
17+
18+
Provide a code example (without your actual password etc.) make it as minimal as
19+
you can.
20+
21+
## Expected behavior
1622

17-
**Expected behavior**
1823
A clear and concise description of what you expected to happen.
1924

20-
**Logs**
25+
## Logs
26+
2127
Provide the output of `deno --version`
28+
2229
```
2330
Put output here
2431
```
25-
Provide the output of your code snippet (with console_debug set to true see https://github.com/EC-Nordbund/denomailer#configuring-your-client )
32+
33+
Provide the output of your code snippet (with console_debug set to true see
34+
https://github.com/EC-Nordbund/denomailer#configuring-your-client )
2635

2736
```
2837
Put log here
2938
```
3039

31-
If and only if you have problems with TLS or STARTTLS please provide the output of the following commands:
40+
If and only if you have problems with TLS or STARTTLS please provide the output
41+
of the following commands:
3242

3343
```
3444
# STARTTLS
@@ -38,5 +48,7 @@ openssl s_client -debug -starttls smtp -crlf -connect your-host.de:25
3848
openssl s_client -debug -crlf -connect your-host.de:25
3949
```
4050

41-
**Additional context**
42-
Add any other context about the problem here. Is there a older version you know where this was working?
51+
## Additional context
52+
53+
Add any other context about the problem here. Is there a older version you know
54+
where this was working?

.github/ISSUE_TEMPLATE/feature_request.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ assignees: mathe42
77

88
---
99

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
## Is your feature request related to a problem? Please describe.
11+
12+
A clear and concise description of what the problem is. Ex. I'm always
13+
frustrated when [...]
14+
15+
## Describe the solution you'd like
1216

13-
**Describe the solution you'd like**
1417
A clear and concise description of what you want to happen.
1518

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
19+
## Describe alternatives you've considered
20+
21+
A clear and concise description of any alternative solutions or features you've
22+
considered.
23+
24+
## Additional context
1825

19-
**Additional context**
2026
Add any other context or screenshots about the feature request here.

.github/workflows/ci2.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: denoland/setup-deno@v1
14+
with:
15+
deno-version: v1.x
16+
- run: docker run -d -p 1080:1080 -p 1025:1025 reachfive/fake-smtp-server
17+
- run: deno test --unstable -A ./test/e2e/basic.test.ts
18+
- run: deno fmt --check
19+
- run: deno lint

LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

33
Copyright (c) 2019 EnokMan
4+
Copyright (c) 2022 Sebastian Krüger (@mathe42)
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)