go-smtp icon indicating copy to clipboard operation
go-smtp copied to clipboard

📤 An SMTP client & server library written in Go

Results 49 go-smtp issues
Sort by recently updated
recently updated
newest added
trafficstars

Currently the debug mode writes all the input and output into one stream: https://github.com/emersion/go-smtp/blob/26eb4814e227ff64ec3316910eb0b4e357e6e4e7/conn.go#L84-L85 I'd like to have independent debug streams and alternatively skip or mask `AUTH` command details. Probably...

server

## CHUNKING (BDAT) support Client support: Prefer over DATA if available (avoids the overhead of dot-encoding), require if BODY=BINARYMIME is used (as required by spec). Server support: Transparent support, io.Reader...

enhancement
client

Breaking change since it changes Client.Rcpt and Session.Rcpt signature. Closes #32.

breaking

Changes: - remove check that forbids LMTP over TCP - introduce Network config option, to choose between TCP and unix sockets - add a warning to the documentation that LMTP...

Adding context support would be nice for tracing and cancellation. Thanks for this library!

enhancement
question
breaking

If `c.server.Backend.NewSession(c)` returns an error at `conn.go:232`, `handleGreet` sets `c.helo` but returns without calling `c.setSession()`. If the client then issues a `MAIL` command, `handleMail` panics when it tries to dereference...

Basically go-smtp issues two timeouts, configured by `ReadTimeout`: for DATA command, for the idle connection: ``` 354 2.0.0 Go ahead. End your data with . # doing nothing in DATA...

server

Closes: https://github.com/emersion/go-smtp/issues/170 Future work: - Drop `Session.AuthPlain` - Drop `Server.AuthDisabled`