Skip to content

Commit

Permalink
Merge pull request #249 from wneessen/feature/145_add-eml-parser-to-g…
Browse files Browse the repository at this point in the history
…enerate-msg-from-eml-files

This PR introduces an EML parser to go-mail. It allows to read generic EML data from a file, a string or a reader into a go-mail Msg struct. It supports all types of message parts and encodings. It should be able to recognize Mulitpart messages as well as attachments and embeds (inline attachments).

This PR closes #145
  • Loading branch information
wneessen authored Jun 28, 2024
2 parents d8a3d0b + 7e4bb00 commit ffdea83
Show file tree
Hide file tree
Showing 13 changed files with 1,406 additions and 17 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Some of the features of this library:
* [X] Debug logging of SMTP traffic
* [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

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 doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
package mail

// VERSION is used in the default user agent string
const VERSION = "0.4.1"
const VERSION = "0.4.2"
Loading

0 comments on commit ffdea83

Please sign in to comment.