diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8212de2f..615f2b5f 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2117d217..7052fb62 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f086a057..ab309f86 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index e44cbd5f..6cadd034 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5c38fa1f..f581edef 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 600ba846..5b1ef9bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2024 The go-mail Authors +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8c7b0ba0..9a2cd413 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index e98be757..25d4e203 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.gitignore b/.gitignore index ad05dc0b..c307b8a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022 Winni Neessen +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/.golangci.toml b/.golangci.toml index 5178a27a..7e792d2e 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -1,4 +1,4 @@ -## SPDX-FileCopyrightText: 2022 Winni Neessen +## SPDX-FileCopyrightText: The go-mail Authors ## ## SPDX-License-Identifier: MIT diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index a188a88c..a109e854 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,5 +1,5 @@ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c8f7c007..6ab6fb3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ diff --git a/LICENSE b/LICENSE index 4c01f61b..c64411f9 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt index 00ec3d18..dac5bdf9 100644 --- a/LICENSES/MIT.txt +++ b/LICENSES/MIT.txt @@ -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 diff --git a/README.md b/README.md index 85abe4b6..de67e567 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -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. diff --git a/REUSE.toml b/REUSE.toml index 0bca5447..97010ee3 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -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 diff --git a/SECURITY.md b/SECURITY.md index b0ed1cad..7aa14887 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,5 +1,5 @@ diff --git a/assets/gopher2.svg.license b/assets/gopher2.svg.license index da2e7e7d..b63e388e 100644 --- a/assets/gopher2.svg.license +++ b/assets/gopher2.svg.license @@ -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 diff --git a/auth.go b/auth.go index 3c520aec..e68b4c7d 100644 --- a/auth.go +++ b/auth.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/auth_test.go b/auth_test.go index a687af39..7fa21606 100644 --- a/auth_test.go +++ b/auth_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/b64linebreaker.go b/b64linebreaker.go index abc356ad..3d4e3e8c 100644 --- a/b64linebreaker.go +++ b/b64linebreaker.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/b64linebreaker_test.go b/b64linebreaker_test.go index dc084710..3dd3f636 100644 --- a/b64linebreaker_test.go +++ b/b64linebreaker_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/client.go b/client.go index ebbf20de..830fec4f 100644 --- a/client.go +++ b/client.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT @@ -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: diff --git a/client_119.go b/client_119.go index 96d18a7d..6b300658 100644 --- a/client_119.go +++ b/client_119.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/client_120.go b/client_120.go index 622e149b..376c0595 100644 --- a/client_120.go +++ b/client_120.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/client_121_test.go b/client_121_test.go index 0c965454..b4931b85 100644 --- a/client_121_test.go +++ b/client_121_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/client_test.go b/client_test.go index 7363396f..3c32515f 100644 --- a/client_test.go +++ b/client_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/codecov.yml b/codecov.yml index 7c99de7c..469b079f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/doc.go b/doc.go index 6878d86d..3f1a7422 100644 --- a/doc.go +++ b/doc.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT @@ -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" diff --git a/doc_test.go b/doc_test.go index 4fd29707..2578670d 100644 --- a/doc_test.go +++ b/doc_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/eml.go b/eml.go index 0363d892..7f3f39e8 100644 --- a/eml.go +++ b/eml.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/eml_test.go b/eml_test.go index f89801a5..55c055d7 100644 --- a/eml_test.go +++ b/eml_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/encoding.go b/encoding.go index 5371d56b..f7c9dccf 100644 --- a/encoding.go +++ b/encoding.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/encoding_test.go b/encoding_test.go index 18e12da6..53a4f11f 100644 --- a/encoding_test.go +++ b/encoding_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/file.go b/file.go index 8866d973..b1919a46 100644 --- a/file.go +++ b/file.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/file_test.go b/file_test.go index 66ec84f7..c536e6d2 100644 --- a/file_test.go +++ b/file_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/go.mod b/go.mod index aeb80d1d..fd6e58d9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/go.sum.license b/go.sum.license index 615ea2bd..e5745648 100644 --- a/go.sum.license +++ b/go.sum.license @@ -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 diff --git a/header.go b/header.go index 217823a8..86045b55 100644 --- a/header.go +++ b/header.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/header_test.go b/header_test.go index a554936b..41aa6417 100644 --- a/header_test.go +++ b/header_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/internal/pkcs7/pkcs7.go b/internal/pkcs7/pkcs7.go index 8258efe3..c610b55b 100644 --- a/internal/pkcs7/pkcs7.go +++ b/internal/pkcs7/pkcs7.go @@ -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. diff --git a/internal/pkcs7/pkcs7_test.go b/internal/pkcs7/pkcs7_test.go index b8ac9bf7..4c7392a6 100644 --- a/internal/pkcs7/pkcs7_test.go +++ b/internal/pkcs7/pkcs7_test.go @@ -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. diff --git a/log/jsonlog.go b/log/jsonlog.go index f88ab5d2..5e0b96c2 100644 --- a/log/jsonlog.go +++ b/log/jsonlog.go @@ -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 diff --git a/log/jsonlog_test.go b/log/jsonlog_test.go index b14242d9..2700c160 100644 --- a/log/jsonlog_test.go +++ b/log/jsonlog_test.go @@ -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 diff --git a/log/log.go b/log/log.go index 3d31413f..c2f31b58 100644 --- a/log/log.go +++ b/log/log.go @@ -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 diff --git a/log/stdlog.go b/log/stdlog.go index 7ecd9c1e..3547e0c4 100644 --- a/log/stdlog.go +++ b/log/stdlog.go @@ -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 diff --git a/log/stdlog_test.go b/log/stdlog_test.go index 8667667f..77f67fa0 100644 --- a/log/stdlog_test.go +++ b/log/stdlog_test.go @@ -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 diff --git a/msg.go b/msg.go index 7fe52d83..e001d7ce 100644 --- a/msg.go +++ b/msg.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msg_test.go b/msg_test.go index f07d737b..fdcdd7b8 100644 --- a/msg_test.go +++ b/msg_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msg_totmpfile.go b/msg_totmpfile.go index b7d2ada3..e1784149 100644 --- a/msg_totmpfile.go +++ b/msg_totmpfile.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msg_totmpfile_116.go b/msg_totmpfile_116.go index bb93411a..84717bf0 100644 --- a/msg_totmpfile_116.go +++ b/msg_totmpfile_116.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msg_unix_test.go b/msg_unix_test.go index 57e15478..fa7ec13f 100644 --- a/msg_unix_test.go +++ b/msg_unix_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msgwriter.go b/msgwriter.go index f3083aa9..da784ef4 100644 --- a/msgwriter.go +++ b/msgwriter.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/msgwriter_test.go b/msgwriter_test.go index 11d856f6..3217b987 100644 --- a/msgwriter_test.go +++ b/msgwriter_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/part.go b/part.go index 8a1320ce..ead4756f 100644 --- a/part.go +++ b/part.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/part_test.go b/part_test.go index 9f037916..1ef017b6 100644 --- a/part_test.go +++ b/part_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/quicksend.go b/quicksend.go index 204971f8..87739a94 100644 --- a/quicksend.go +++ b/quicksend.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/quicksend_test.go b/quicksend_test.go index bf38c658..d81e9dd8 100644 --- a/quicksend_test.go +++ b/quicksend_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/random.go b/random.go index 2596a721..9fea9447 100644 --- a/random.go +++ b/random.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/random_test.go b/random_test.go index 27c9da3c..93ff0fe2 100644 --- a/random_test.go +++ b/random_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/reader.go b/reader.go index e635e3a4..0545d4fb 100644 --- a/reader.go +++ b/reader.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/reader_test.go b/reader_test.go index fb71af75..e876333b 100644 --- a/reader_test.go +++ b/reader_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/senderror.go b/senderror.go index e32d74be..65b19873 100644 --- a/senderror.go +++ b/senderror.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/senderror_test.go b/senderror_test.go index 63d4c73f..1543f0f8 100644 --- a/senderror_test.go +++ b/senderror_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/smime.go b/smime.go index dd267364..df100ebb 100644 --- a/smime.go +++ b/smime.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/smime_test.go b/smime_test.go index 0ff4df1a..17a25d0d 100644 --- a/smime_test.go +++ b/smime_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/smtp/auth.go b/smtp/auth.go index a62e74d3..46a64187 100644 --- a/smtp/auth.go +++ b/smtp/auth.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/auth_cram_md5.go b/smtp/auth_cram_md5.go index b7c42da4..3b49374f 100644 --- a/smtp/auth_cram_md5.go +++ b/smtp/auth_cram_md5.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/auth_cram_md5_118.go b/smtp/auth_cram_md5_118.go index a607c287..17cb2b6a 100644 --- a/smtp/auth_cram_md5_118.go +++ b/smtp/auth_cram_md5_118.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/auth_login.go b/smtp/auth_login.go index c40e48c2..9891233f 100644 --- a/smtp/auth_login.go +++ b/smtp/auth_login.go @@ -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 diff --git a/smtp/auth_plain.go b/smtp/auth_plain.go index 39e2a2f5..271521c2 100644 --- a/smtp/auth_plain.go +++ b/smtp/auth_plain.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/auth_scram.go b/smtp/auth_scram.go index 03de54ce..19638f56 100644 --- a/smtp/auth_scram.go +++ b/smtp/auth_scram.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: Copyright (c) 2024 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/smtp/auth_xoauth2.go b/smtp/auth_xoauth2.go index d63fa100..d6f32361 100644 --- a/smtp/auth_xoauth2.go +++ b/smtp/auth_xoauth2.go @@ -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 diff --git a/smtp/example_test.go b/smtp/example_test.go index f0c4cdde..4a0fa4c5 100644 --- a/smtp/example_test.go +++ b/smtp/example_test.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/smtp.go b/smtp/smtp.go index 24a079f6..12406478 100644 --- a/smtp/smtp.go +++ b/smtp/smtp.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/smtp_121_test.go b/smtp/smtp_121_test.go index ed722e0b..5bdc05bf 100644 --- a/smtp/smtp_121_test.go +++ b/smtp/smtp_121_test.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/smtp_ehlo.go b/smtp/smtp_ehlo.go index 457be574..68192c0d 100644 --- a/smtp/smtp_ehlo.go +++ b/smtp/smtp_ehlo.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/smtp_ehlo_117.go b/smtp/smtp_ehlo_117.go index c40297f1..f94683d7 100644 --- a/smtp/smtp_ehlo_117.go +++ b/smtp/smtp_ehlo_117.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/smtp/smtp_test.go b/smtp/smtp_test.go index 471b1e1a..ab083b6d 100644 --- a/smtp/smtp_test.go +++ b/smtp/smtp_test.go @@ -1,5 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2010 The Go Authors. All rights reserved. -// SPDX-FileCopyrightText: Copyright (c) 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: Copyright (c) The go-mail Authors // // Original net/smtp code from the Go stdlib by the Go Authors. // Use of this source code is governed by a BSD-style diff --git a/sonar-project.properties b/sonar-project.properties index b800d267..065d006a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +# SPDX-FileCopyrightText: The go-mail Authors # # SPDX-License-Identifier: MIT diff --git a/testdata/RFC5322-A1-1-invalid-from.eml.license b/testdata/RFC5322-A1-1-invalid-from.eml.license index 615ea2bd..e5745648 100644 --- a/testdata/RFC5322-A1-1-invalid-from.eml.license +++ b/testdata/RFC5322-A1-1-invalid-from.eml.license @@ -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 diff --git a/testdata/RFC5322-A1-1.eml.license b/testdata/RFC5322-A1-1.eml.license index 615ea2bd..e5745648 100644 --- a/testdata/RFC5322-A1-1.eml.license +++ b/testdata/RFC5322-A1-1.eml.license @@ -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 diff --git a/testdata/attachment.license b/testdata/attachment.license index 615ea2bd..e5745648 100644 --- a/testdata/attachment.license +++ b/testdata/attachment.license @@ -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 diff --git a/testdata/attachment.txt.license b/testdata/attachment.txt.license index 615ea2bd..e5745648 100644 --- a/testdata/attachment.txt.license +++ b/testdata/attachment.txt.license @@ -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 diff --git a/testdata/dummy-chain-cert-ecdsa.pem.license b/testdata/dummy-chain-cert-ecdsa.pem.license index 615ea2bd..e5745648 100644 --- a/testdata/dummy-chain-cert-ecdsa.pem.license +++ b/testdata/dummy-chain-cert-ecdsa.pem.license @@ -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 diff --git a/testdata/dummy-chain-cert-rsa.pem.license b/testdata/dummy-chain-cert-rsa.pem.license index 615ea2bd..e5745648 100644 --- a/testdata/dummy-chain-cert-rsa.pem.license +++ b/testdata/dummy-chain-cert-rsa.pem.license @@ -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 diff --git a/testdata/dummy-child-key-ecdsa.pem.license b/testdata/dummy-child-key-ecdsa.pem.license index 615ea2bd..e5745648 100644 --- a/testdata/dummy-child-key-ecdsa.pem.license +++ b/testdata/dummy-child-key-ecdsa.pem.license @@ -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 diff --git a/testdata/dummy-child-key-rsa.pem.license b/testdata/dummy-child-key-rsa.pem.license index 615ea2bd..e5745648 100644 --- a/testdata/dummy-child-key-rsa.pem.license +++ b/testdata/dummy-child-key-rsa.pem.license @@ -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 diff --git a/testdata/embed.txt.license b/testdata/embed.txt.license index 615ea2bd..e5745648 100644 --- a/testdata/embed.txt.license +++ b/testdata/embed.txt.license @@ -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 diff --git a/testdata/logo.svg.base64.license b/testdata/logo.svg.base64.license index da2e7e7d..b63e388e 100644 --- a/testdata/logo.svg.base64.license +++ b/testdata/logo.svg.base64.license @@ -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 diff --git a/testdata/logo.svg.license b/testdata/logo.svg.license index da2e7e7d..b63e388e 100644 --- a/testdata/logo.svg.license +++ b/testdata/logo.svg.license @@ -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 diff --git a/tls.go b/tls.go index 3adc0cc6..66b04d44 100644 --- a/tls.go +++ b/tls.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT diff --git a/tls_test.go b/tls_test.go index ef208e74..fa05a3c2 100644 --- a/tls_test.go +++ b/tls_test.go @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 The go-mail Authors +// SPDX-FileCopyrightText: The go-mail Authors // // SPDX-License-Identifier: MIT