Registry / serialization / jhillyerd-enmime

jhillyerd-enmime

JSON →
library1.3.0gogounverified

Package enmime implements a MIME encoding and decoding library for Go.

go get github.com/jhillyerd/enmime
INSTALL
IMPORT
SIG · JHILLYERD-ENMIME
J
jhillyerd-enmime
serializationgov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

enmime
github.com/jhillyerd/enmime

Parses a MIME message and prints the Subject header.

package main import ( "fmt" "github.com/jhillyerd/enmime" ) func main() { // Parse a MIME message from a reader msg, err := enmime.ParseEnvelope(strings.NewReader("From: test@example.com\nSubject: Test\n\nHello")) if err != nil { panic(err) } fmt.Println(msg.GetHeader("Subject")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jhillyerd-enmime — go get jhillyerd-enmime · libregistry