Merge pull request #103 from wneessen/update_docs_headers

Update documentation and copyright headers
This commit is contained in:
Winni Neessen 2023-01-15 16:22:36 +01:00 committed by GitHub
commit e4eb4d63ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 61 additions and 52 deletions

View file

@ -1,5 +1,5 @@
<!-- <!--
SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-License-Identifier: CC0-1.0 SPDX-License-Identifier: CC0-1.0
--> -->

View file

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2022 Winni Neessen Copyright (c) 2022-2023 The go-mail Authors
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,5 +1,5 @@
<!-- <!--
SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-License-Identifier: CC0-1.0 SPDX-License-Identifier: CC0-1.0
--> -->
@ -25,6 +25,9 @@ Parts of this library (especially some parts of [msgwriter.go](msgwriter.go)) ha
[go-mail/mail](https://github.com/go-mail/mail) respectively [go-gomail/gomail](https://github.com/go-gomail/gomail) [go-mail/mail](https://github.com/go-mail/mail) respectively [go-gomail/gomail](https://github.com/go-gomail/gomail)
which both seems to not be maintained anymore. which both seems to not be maintained anymore.
The smtp package of go-mail is forked from the original Go stdlib's `net/smtp` and then extended by the go-mail
team.
## Features ## Features
Some of the features of this library: Some of the features of this library:
@ -48,6 +51,8 @@ Some of the features of this library:
* [X] Message object satisfies `io.WriteTo` and `io.Reader` interfaces * [X] Message object satisfies `io.WriteTo` and `io.Reader` interfaces
* [X] Support for Go's `html/template` and `text/template` (as message body, alternative part or attachment/emebed) * [X] Support for Go's `html/template` and `text/template` (as message body, alternative part or attachment/emebed)
* [X] Output to file support which allows storing mail messages as e. g. `.eml` files to disk to open them in a MUA * [X] Output to file support which allows storing mail messages as e. g. `.eml` files to disk to open them in a MUA
* [X] Debug logging of SMTP traffic
* [X] Custom error types for delivery errors
go-mail works like a programatic email client and provides lots of methods and functionalities you would consider go-mail works like a programatic email client and provides lots of methods and functionalities you would consider
standard in a MUA. standard in a MUA.
@ -72,8 +77,13 @@ found in a seperate repository: [go-mail-middlware](https://github.com/wneessen/
We provide example code in both our GoDocs as well as on our official Website (see [Documentation](#documentation)). For a quick start into go-mail We provide example code in both our GoDocs as well as on our official Website (see [Documentation](#documentation)). For a quick start into go-mail
check out our [Getting started](https://go-mail.dev/getting-started/introduction/) guide. check out our [Getting started](https://go-mail.dev/getting-started/introduction/) guide.
## Contributors ## Authors/Contributors
Thanks to the following people for contributing to the go-mail project: go-mail was initially authored and developed by [Winni Neessen](https://github.com/wneessen/).
Big thanks to the following people, for contributing to the go-mail project (either in form of code or by
reviewing code, writing documenation or helping to translate the website):
* [Dhia Gharsallaoui](https://github.com/dhia-gharsallaoui) * [Dhia Gharsallaoui](https://github.com/dhia-gharsallaoui)
* [inliquid](https://github.com/inliquid) * [inliquid](https://github.com/inliquid)
* [iwittkau](https://github.com/iwittkau)
* [James Elliott](https://github.com/james-d-elliott)
* [Maria Letta](https://github.com/MariaLetta) (designed the go-mail logo) * [Maria Letta](https://github.com/MariaLetta) (designed the go-mail logo)

View file

@ -1,5 +1,5 @@
<!-- <!--
SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-License-Identifier: CC0-1.0 SPDX-License-Identifier: CC0-1.0
--> -->
@ -8,5 +8,11 @@ SPDX-License-Identifier: CC0-1.0
## Reporting a Vulnerability ## Reporting a Vulnerability
Please send a mail to wn+gomail@neessen.net when you found a security issue in go-mail, even when you are not 100% certain To report (possible) security issues in go-mail, please either send a mail to
that it is actually a security issue. Typically, you will receive an answer within a day or even within a few hours. [security@go-mail.dev](mailto:security@go-mail.dev) or use Github's
[private reporting feature](https://github.com/wneessen/go-mail/security/advisories/new).
Reports are always welcome. Even if you are not 100% certain that a specific issue you found
counts as a security issue, we'd love to hear the details, so we can figure out together if
the issue in question needds to be addressed.
Typically, you will receive an answer within a day or even within a few hours.

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0

4
doc.go
View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
@ -6,4 +6,4 @@
package mail package mail
// VERSION is used in the default user agent string // VERSION is used in the default user agent string
const VERSION = "0.3.8" const VERSION = "0.3.9"

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

2
go.mod
View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

2
msg.go
View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors // SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -17,13 +17,6 @@
// 8BITMIME RFC 1652 // 8BITMIME RFC 1652
// AUTH RFC 2554 // AUTH RFC 2554
// STARTTLS RFC 3207 // STARTTLS RFC 3207
//
// Additional extensions may be handled by clients.
//
// The smtp package is frozen and is not accepting new features.
// Some external packages provide more functionality. See:
//
// https://godoc.org/?q=smtp
package smtp package smtp
import ( import (

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0

2
tls.go
View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> // SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT