Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 0.6.0 release #409

Merged
merged 4 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2024 The go-mail Authors
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion .golangci.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
## SPDX-FileCopyrightText: The go-mail Authors
##
## SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Winni Neessen <[email protected]>
SPDX-FileCopyrightText: Winni Neessen <[email protected]>

SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-FileCopyrightText: The go-mail Authors

SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 The go-mail Authors
Copyright (c) 2022-2025 The go-mail Authors

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
2 changes: 1 addition & 1 deletion LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 The go-mail Authors
Copyright (c) 2022-2025 The go-mail Authors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-FileCopyrightText: The go-mail Authors

SPDX-License-Identifier: MIT
-->
Expand Down Expand Up @@ -65,7 +65,8 @@ Here are some highlights of go-mail's featureset:
* [X] Custom error types for delivery errors
* [X] Custom dial-context functions for more control over the connection (proxing, DNS hooking, etc.)
* [X] Output a go-mail message as EML file and parse EML file into a go-mail message
* [X] S/MIME message signing support (Experimental)
* [X] S/MIME message signing support (RSA and ECDSA)
* [X] UNIX domain socket support

go-mail works like a programatic email client and provides lots of methods and functionalities you would consider
standard in a MUA.
Expand Down
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 The go-mail Authors
# SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
SPDX-FileCopyrightText: The go-mail Authors

SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion assets/gopher2.svg.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Maria Letta, the go-mail Team
SPDX-FileCopyrightText: Maria Letta, the go-mail Team

SPDX-License-Identifier: CC-BY-ND-4.0
2 changes: 1 addition & 1 deletion auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion auth_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion b64linebreaker.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion b64linebreaker_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
8 changes: 5 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down Expand Up @@ -257,10 +257,12 @@ var (
//
// This function initializes a Client with default values, such as connection timeout, port, TLS settings,
// and the HELO/EHLO hostname. Option functions, if provided, can override the default configuration.
// It ensures that essential values, like the host, are set. An error is returned if critical defaults are unset.
// It ensures that essential values, like the host, are set. The function also supports connections to
// UNIX domain sockets by recognizing a "unix://" prefix in the host string and adjusting the configuration
// accordingly. An error is returned if critical defaults are unset.
//
// Parameters:
// - host: The hostname of the SMTP server to connect to.
// - host: The hostname of the SMTP server to connect to, or a UNIX domain socket prefixed with "unix://".
// - opts: Optional configuration functions to override default settings.
//
// Returns:
Expand Down
2 changes: 1 addition & 1 deletion client_119.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion client_120.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion client_121_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
# SPDX-FileCopyrightText: The go-mail Authors
#
# SPDX-License-Identifier: MIT

Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand All @@ -11,4 +11,4 @@ package mail

// VERSION indicates the current version of the package. It is also attached to the default user
// agent string.
const VERSION = "0.5.2"
const VERSION = "0.6.0"
2 changes: 1 addition & 1 deletion doc_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion eml.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion eml_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion encoding.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion encoding_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion file_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion go.sum.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT
2 changes: 1 addition & 1 deletion header.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion header_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion internal/pkcs7/pkcs7.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-FileCopyrightText: Copyright (c) 2015 Andrew Smith
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 The mozilla services project (https://github.com/mozilla-services)
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// Partially forked from https://github.com/mozilla-services/pkcs7, which in turn is also a fork
// of https://github.com/fullsailor/pkcs7.
Expand Down
2 changes: 1 addition & 1 deletion internal/pkcs7/pkcs7_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-FileCopyrightText: Copyright (c) 2015 Andrew Smith
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 The mozilla services project (https://github.com/mozilla-services)
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// Partially forked from https://github.com/mozilla-services/pkcs7, which in turn is also a fork
// of https://github.com/fullsailor/pkcs7.
Expand Down
2 changes: 1 addition & 1 deletion log/jsonlog.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion log/jsonlog_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion log/log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion log/stdlog.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion log/stdlog_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright (c) 2023 The go-mail Authors
// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msg_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msg_totmpfile.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msg_totmpfile_116.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msg_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msgwriter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion msgwriter_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion part.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion part_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion quicksend.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion quicksend_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion random.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
// SPDX-FileCopyrightText: The go-mail Authors
//
// SPDX-License-Identifier: MIT

Expand Down
Loading
Loading