Skip to content

Commit

Permalink
release 1.0 (#15)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mathe42 authored Apr 25, 2022
1 parent ad22af0 commit becee5a
Show file tree
Hide file tree
Showing 30 changed files with 1,954 additions and 1,113 deletions.
6 changes: 0 additions & 6 deletions .env

This file was deleted.

30 changes: 21 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,37 @@ assignees: mathe42
---

<!-- For security relevant bugs please contact us via mail! -->
**Describe the bug**

## Describe the bug

A clear and concise description of what the bug is.

**To Reproduce**
Provide a code example (without your actual password etc.) make it as minimal as you can.
## To Reproduce

Provide a code example (without your actual password etc.) make it as minimal as
you can.

## Expected behavior

**Expected behavior**
A clear and concise description of what you expected to happen.

**Logs**
## Logs

Provide the output of `deno --version`

```
Put output here
```
Provide the output of your code snippet (with console_debug set to true see https://github.com/EC-Nordbund/denomailer#configuring-your-client )

Provide the output of your code snippet (with console_debug set to true see
https://github.com/EC-Nordbund/denomailer#configuring-your-client )

```
Put log here
```

If and only if you have problems with TLS or STARTTLS please provide the output of the following commands:
If and only if you have problems with TLS or STARTTLS please provide the output
of the following commands:

```
# STARTTLS
Expand All @@ -38,5 +48,7 @@ openssl s_client -debug -starttls smtp -crlf -connect your-host.de:25
openssl s_client -debug -crlf -connect your-host.de:25
```

**Additional context**
Add any other context about the problem here. Is there a older version you know where this was working?
## Additional context

Add any other context about the problem here. Is there a older version you know
where this was working?
18 changes: 12 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ assignees: mathe42

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]

## Describe the solution you'd like

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

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
## Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've
considered.

## Additional context

**Additional context**
Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/workflows/ci2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test

on:
push:
branches:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: docker run -d -p 1080:1080 -p 1025:1025 reachfive/fake-smtp-server
- run: deno test --unstable -A ./test/e2e/basic.test.ts
- run: deno fmt --check
- run: deno lint
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2019 EnokMan
Copyright (c) 2022 Sebastian Krüger (@mathe42)

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

0 comments on commit becee5a

Please sign in to comment.