aboutsummaryrefslogtreecommitdiff
path: root/lib/email/testdata
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2024-08-03lib/email: decode the message body based on content-transfer-encodingShulhan
After the header and body has been parsed, if the header contains Content-Transfer-Encoding, we decode the body into its local formats. Currently supported encoding is "quoted-printable" and "base64".
2023-09-13lib/ascii: replace package "math/rand" with "crypto/rand"Shulhan
Since Go 1.20 the "math/rand.Seed" is considered deprecated (the initial value of rand is seeded automatically, not zero). Now, it is the time to replace "math/rand" with more secure random number generator, from "crypto/rand". This changes affect tests in package "lib/email", "lib/http", and "lib/stmp".
2019-02-15email: implement signing message with DKIM methodShulhan
Everything seems like works in order, we need more test will real life message.
2019-02-14email: implement DKIM verify on messageShulhan
Each message will have DKIMSignature field and dkimStatus that contains the message signature, if available, and their status.
2019-02-05lib/email: change Email type to MessageShulhan
One of the reason is to minimize stutter on package and type name, from "email.Email" to "email.Message". Also, add test data for parsing messages.