Commit graph

736 commits

Author SHA1 Message Date
7b030473a6
Final set of unit tests for DSN 2022-09-12 09:31:42 +02:00
c52a437f7f
More tests 2022-09-11 22:05:43 +02:00
885d80aeb7
Let's actually not expose those new methods as they should not be used externally 2022-09-11 21:59:18 +02:00
aed71397c0
Implemented DSNs as described in RFC 1891
- Added test coverage for the WithDSN* methods
- Updated README.md accordingly
2022-09-11 21:07:15 +02:00
4d8bc7ca28
Implemented DSNs as described in RFC 1891
- Implemented MAIL FROM RET parameter
- Implemented RCPT TO NOTIFY parameter

Not implemented so far (not sure if we need this at all):
- MAIL FROM ENVID parameter
- RCPT TO ORCPT parameter

TBD:
- Test coverage
2022-09-11 20:24:28 +02:00
5bd3ceca02
Merge pull request #46 from wneessen/MDN
Added support for requesting MDNs as described in RFC 8098
2022-09-09 11:45:20 +02:00
c1d4dbedee
Remove not needed loop from RequestMDNAddTo 2022-09-09 11:39:08 +02:00
46001dc691
Added support for requesting MDNs as described in RFC 8098 2022-09-09 11:35:45 +02:00
da266bcac4
Merge pull request #45 from wneessen/42-testcoverage
Better test coverage
2022-09-08 15:48:00 +02:00
910248d999
#42: Return error in b64linebreaker.go when no out is set 2022-09-08 15:43:14 +02:00
3eb4bc9c52
#42: Reverting return values in b64linebreaker.go since return values were defined in signature 2022-09-08 15:40:42 +02:00
a4d927b518
Merge remote-tracking branch 'origin/main' into 42-testcoverage 2022-09-08 15:38:52 +02:00
9e2cad565a
Update codecov.yml 2022-09-08 15:33:39 +02:00
6556926573
Update codecov.yml 2022-09-08 15:30:47 +02:00
d5ee314883
Update codecov.yml 2022-09-08 15:29:18 +02:00
48a1acc782
Update codecov.yml 2022-09-08 15:25:08 +02:00
3d3a98b544
Merge pull request #44 from wneessen/wneessen-codecov-sendmail
Update codecov.yml
2022-09-08 15:23:15 +02:00
67101c0a99
Update codecov.yml
Install sendmail for tests on ubuntu
2022-09-08 15:23:06 +02:00
6d22a34548
#42: Add test for Msg.WriteToSendmail 2022-09-08 15:08:17 +02:00
333c3970e7
#42: Add test for Msg.EnvelopeFromFormat 2022-09-08 15:08:03 +02:00
fa4eca20f1
Merge remote-tracking branch 'origin/main' into 42-testcoverage 2022-09-08 15:06:42 +02:00
7809dc4aec
Merge pull request #43 from wneessen/wneessen-coverage-119
Update codecov.yml
2022-09-08 15:05:48 +02:00
bce51755d2
Update codecov.yml
Add Go 1.19 to test coverage and use it as default
2022-09-08 15:05:38 +02:00
ffc086e75f
#42: Better test coverage for b64linebreaker.go. Also we return errors now 2022-09-08 11:47:11 +02:00
b888d6058f
Merge pull request #41 from wneessen/gitignore-idea
Update .gitignore
2022-08-27 11:07:26 +02:00
ecf795c758
Update .gitignore
Add more specific .idea ignores
2022-08-27 11:07:17 +02:00
7b69f44c33
Merge pull request #40 from wneessen/test-for-37
Minor changes to the Base64LineBreaker
2022-08-14 14:47:54 +02:00
e33df7f28b
Minor changes to the Base64LineBreaker
- Renamed the file to a more fitting name
- Added tests for the Write() and Close() methods
2022-08-14 14:45:12 +02:00
c6fe75f2d3
Merge pull request #38 from wneessen/37-attachment-length
Fixes bug with attachment encoding
2022-08-14 12:13:07 +02:00
ffa1b47cab
Forgot SPDX license header for REUSE 2022-08-14 12:07:59 +02:00
701cbbf399
Fixes a bug with attachments. Hopefully addresses #37 as well
By default, the encoding/base64 in Go does not add line breaks to its output.
This patch introduces the Base64LineBreaker which satisfies the io.WriteCloser interface
Attachments are now correctly broken up into maximum of 76 chars
2022-08-14 12:06:26 +02:00
a3a143de45
Switch logo to CC-BY-ND-4.0 license 2022-07-11 13:23:50 +02:00
8be6c4fcc8
Update README.md
Center logo
2022-07-11 10:21:09 +02:00
b81725eb30
Merge pull request #35 from wneessen/logo-license
Switch logo license to CC BY-SA
2022-07-08 16:30:10 +02:00
ade2597487
Switch logo license to CC BY-SA 2022-07-08 16:29:39 +02:00
e4b2b020fc
Merge pull request #34 from wneessen/logo-license
Fixed REUSE for logo file
2022-07-08 16:24:24 +02:00
f90a0a6305
Fixed REUSE for logo file 2022-07-08 16:24:00 +02:00
87e5ff9a6e
Merge pull request #33 from wneessen/logo
Added new go-mail logo
2022-07-08 16:05:07 +02:00
e5a4bd4205
Added new go-mail logo 2022-07-08 16:04:04 +02:00
3c426ed3a6
Merge pull request #32 from wneessen/readme-issue-29
Update README.md
2022-07-07 10:59:05 +02:00
c8928c875c
Update README.md
#29: Mention the different the embed/attach methods we support.
2022-07-07 10:58:52 +02:00
db2d581594
Merge pull request #30 from wneessen/29-embedfs
Closes #29: Allow attaching/embedding from embed.FS
2022-07-07 10:52:35 +02:00
96f942368a
Merge pull request #31 from wneessen/SQ-on-PR
Update sonarqube.yml
2022-07-07 10:52:14 +02:00
04196716f1
Update sonarqube.yml
Run SonarQube on PRs too
2022-07-07 10:52:01 +02:00
192627f6a5
Closes #29: Allow attaching/embedding from embed.FS
- Added `EmbedFromEmbedFS()` to allow embedding from embed.FS
- Added `AttachFromEmbedFS()` to allow attaching from embed.FS
- Added `fileFromEmbedFS()` as internal method for both other m
  methods to attach/embed the embed.FS file
2022-07-07 10:46:57 +02:00
4fcd42dfad
Update README.md
Added REUSE compliance badge
2022-06-17 15:29:34 +02:00
4e4d3f5157
Update reuse.yml 2022-06-17 15:27:07 +02:00
617ff3eed5
Create reuse.yml 2022-06-17 15:22:53 +02:00
090b810246
Merge pull request #25 from wneessen/24-reuse-compliance
#24: Add SPDX license IDs for REUSE compliance
2022-06-17 15:12:34 +02:00
31001e87b2
#24: Add SPDX license IDs for REUSE compliance
# SUMMARY

* Bad licenses:
* Deprecated licenses:
* Licenses without file extension:
* Missing licenses:
* Unused licenses:
* Used licenses: CC0-1.0, MIT
* Read errors: 0
* Files with copyright information: 45 / 45
* Files with license information: 45 / 45

Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)
2022-06-17 15:05:54 +02:00