Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/emersion/go-smtp
/ types & classes
Types & classes
43 in github.com/emersion/go-smtp
⨍
Functions
251
◇
Types & classes
43
↓ 2 callers
TypeAlias
BodyType
smtp.go:27
↓ 2 callers
TypeAlias
DSNAddressType
smtp.go:85
↓ 2 callers
TypeAlias
DSNReturn
smtp.go:35
↓ 1 callers
TypeAlias
DSNNotify
smtp.go:76
↓ 1 callers
TypeAlias
DeliverByMode
smtp.go:92
Interface
AuthSession
AuthSession is an add-on interface for Session. It provides support for the AUTH extension.
backend.go:97
Interface
Backend
A SMTP server backend.
backend.go:33
Struct
Backend
The Backend implements SMTP server methods.
example_server_test.go:14
FuncType
BackendFunc
BackendFunc is an adapter to allow the use of an ordinary function as a Backend.
backend.go:39
Struct
Client
A Client represents a client connection to an SMTP server.
client.go:24
Struct
Conn
conn.go:25
Struct
DataCommand
DataCommand is a pending DATA command. DataCommand is an io.WriteCloser. See Client.Data.
client.go:562
Struct
DataResponse
DataResponse is the response returned by a DATA command. See DataCommand.CloseWithResponse.
client.go:669
Struct
DeliverByOptions
smtp.go:99
TypeAlias
EnhancedCode
data.go:9
TypeAlias
LMTPDataError
LMTPDataError is a collection of errors returned by an LMTP server for a DATA command. It holds per-recipient errors.
client.go:677
Interface
LMTPSession
LMTPSession is an add-on interface for Session. It can be implemented by LMTP servers to provide extra functionality.
backend.go:70
Interface
Logger
Logger interface is used by Server to report unexpected internal errors.
server.go:18
Struct
MailOptions
MailOptions contains parameters for the MAIL command.
smtp.go:43
TypeAlias
PriorityProfile
smtp.go:105
Struct
RcptOptions
RcptOptions contains parameters for the RCPT command.
smtp.go:115
Struct
SMTPError
SMTPError specifies the error code, enhanced error code (if any) and message returned by the server.
data.go:13
Struct
Server
A SMTP server.
server.go:24
Interface
Session
Session is used by servers to respond to an SMTP client. The methods are called when the remote client issues the matching command.
backend.go:51
Struct
Session
A Session is returned after successful login.
example_server_test.go:22
Interface
StatusCollector
StatusCollector allows a backend to provide per-recipient status information.
backend.go:91
Struct
backend
server_test.go:30
Struct
backend
cmd/smtp-debug-server/main.go:18
Struct
clientDebugWriter
client.go:944
Struct
dataReader
data.go:50
Struct
failingListener
server_test.go:176
Struct
faker
client_test.go:61
Struct
lineLimitReader
lineLimitReader reads from the underlying Reader but restricts line length of lines in input stream to a certain length. If line length exceeds the l
lengthlimit_reader.go:14
Struct
lmtpSession
server_test.go:64
Struct
message
server_test.go:22
Struct
mockError
server_test.go:217
Struct
parser
parser parses command arguments defined in RFC 5321 section 4.1.2.
parse.go:103
FuncType
serverConfigureFunc
func(*smtp.Server)
server_test.go:234
Struct
session
server_test.go:68
Struct
session
cmd/smtp-debug-server/main.go:24
Struct
smtpSender
client_test.go:686
Struct
statusCollector
conn.go:1166
Struct
toServerNoRespAuth
toServerNoRespAuth is an implementation of Auth that only implements the Start method, and returns "FOOAUTH", nil, nil. Notably, it returns nil for "t
client_test.go:51