Commit graph

954 commits

Author SHA1 Message Date
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
d9491eef0b
Merge pull request #22 from wneessen/21-envfrom
Add possibility to set dedicated envelope FROM address
2022-06-13 10:37:58 +02:00
e5abcb082d
#21: Fix ineffassign for GoLinter 2022-06-13 10:33:50 +02:00
04ab595f9a
Bump VERSION for upcoming release 2022-06-13 10:28:27 +02:00
d0292e863f
#21: Added tests for Msg.EnvelopeFrom and Msg.GetSender changes 2022-06-13 10:27:54 +02:00
a50910b943
#21: Add possbility to set dedicated envelope from address
- Added `EnvelopeFrom()` and `EnvelopeFromFormat()` methods analogous to the `From()` `FromFormat()` methods
- Changed MsgWriter logic for envelope from addresses
- Adjusted `Msg.GetSender()` to return the envelope from first and only mail body from if the envelope is not set
2022-06-13 10:18:35 +02:00
afa847d5df
Update README.md
Added a support note for #18
2022-06-09 10:24:57 +02:00
72ed55a9e6
Merge pull request #19 from wneessen/18-write-to-file
Add support for storing mail messages in files
2022-06-09 10:16:13 +02:00
85bbf744fa
#18: Method renaming and tests
- Renamed `Msg.WriteToTempfile` to `Msg.WriteToTempFile`
- Added test coverage for `Msg.WriteToFile` and `Msg.WriteToTempFile`
2022-06-09 10:11:37 +02:00
491b5941aa
#18: Added WriteToTempfile() which will create a temporary output file
- We have two versions of this method:
  - One for Go versions below 1.17 using `ioutil.TempFile()`
  - One for Go versions >= 1.17 using `os.CreateTemp()`
2022-06-09 09:57:01 +02:00
bc9b39f1b8
#18: Switch go mod version to 1.16 2022-06-09 09:54:45 +02:00
1d697c3334
Update codecov.yml
We do not support go 1.15
2022-06-09 09:53:39 +02:00
95100545d6
#18: Added Msg.WriteToFile which allows storing the Msg in a file 2022-06-06 16:43:04 +02:00
d10dc92518
Merge pull request #16 from wneessen/14-exampledocs
#14: First effort of adding more example code
2022-06-03 13:34:21 +02:00
345ad6cceb
#14: First effort of adding more example code 2022-06-03 13:33:57 +02:00
97e1386e36
Code smell fix for #13
SonarQube identified two code smells for duplicate string usage
2022-06-03 12:27:26 +02:00
fae1b4c5d8
Update .gitignore 2022-06-03 12:26:42 +02:00
8fbcb076af
Merge pull request #15 from wneessen/13-template-attachments
Template attachments
2022-06-03 12:17:50 +02:00
3b98422cb9
Update codecov.yml 2022-06-03 12:17:36 +02:00
7050414529
Added test coverage for #13 2022-06-03 12:03:20 +02:00
08cf367772
#13: Avoid nil pointer references in template handling 2022-06-03 11:08:33 +02:00
1fcd89e02d
#13: Bump version 2022-06-03 10:43:14 +02:00
2bce8f6ff8
#13: Update README.md 2022-06-03 10:42:56 +02:00
8919d64ca1
#13: Both html/template and text/template support added
- Switched the previous implementation to support text/template as well as html/template
- Added SetBody*Template() methods to use a template directly as message body
- Added AddAlternative*Template() methods to use a template directly as alternative message part
2022-06-03 10:40:54 +02:00
f24a86a4c6
Fix spelling 2022-06-02 16:22:48 +02:00
8e68b7197f
Create feature_request.yml 2022-06-01 20:49:33 +02:00
ac0c2c043c
Create config.yml 2022-06-01 20:47:52 +02:00
9faca1cc59
Create bug_report.yml 2022-06-01 20:46:42 +02:00
8bf654d2d3
Create CONTRIBUTING.md 2022-06-01 20:38:29 +02:00
645ad2ce93
#13 Allow attaching/embedding templates
Implemented the AttachTemplate and EmbedTemplate methods.
Test coverage and documentation is still to be done
2022-06-01 16:49:34 +02:00
830b3745ba
Update README.md
Added contributions section
2022-05-28 11:14:26 +02:00
069ffa01fb
Merge pull request #12 from wneessen/11-io-Reader
Msg.Read() to satisfy io.Reader
2022-05-28 10:59:27 +02:00
dd02ac229b
Closes #11
This PR adds a `Msg.Read()` method which satisfies the `io.Reader` interface
2022-05-28 10:58:19 +02:00