MCPcopy Index your code

hub / github.com/emersion/go-smtp / functions

Functions251 in github.com/emersion/go-smtp

↓ 1 callersMethodNoop
Noop sends the NOOP command to the server. It does nothing but check that the connection to the server is okay.
client.go:876
↓ 1 callersMethodReset
()
server_test.go:100
↓ 1 callersMethodReset
Discard currently processed message.
backend.go:53
↓ 1 callersMethodReset
Reset sends the RSET command to the server, aborting the current mail transaction.
client.go:858
↓ 1 callersFunctionSendMail
SendMail connects to the server at addr, switches to TLS, authenticates with the optional SASL client, and then sends an email from address from, to a
client.go:798
↓ 1 callersMethodStart
()
client_test.go:53
↓ 1 callersMethodSupportsAuth
SupportsAuth checks whether an authentication mechanism is supported.
client.go:821
↓ 1 callersMethodTemporary
()
data.go:40
↓ 1 callersMethodTimeout
()
server_test.go:231
↓ 1 callersMethodUnwrap
Unwrap returns all per-recipient errors returned by the server.
client.go:685
↓ 1 callersMethodauth
(mech string)
conn.go:912
↓ 1 callersMethodauthMechanisms
()
conn.go:905
↓ 1 callersFunctiondecodeTypedAddress
(val string)
conn.go:573
↓ 1 callersFunctiondecodeUTF8AddrXtext
Decodes the utf-8-addr-xtext or the utf-8-addr-unitext form.
conn.go:492
↓ 1 callersFunctiondoSendMail
(hostPort string)
client_test.go:758
↓ 1 callersFunctionencodeUTF8AddrUnitext
Encodes raw string to the utf-8-addr-unitext form in RFC 6533.
conn.go:638
↓ 1 callersFunctionencodeUTF8AddrXtext
Encodes raw string to the utf-8-addr-xtext form in RFC 6533.
conn.go:617
↓ 1 callersMethodgreet
()
conn.go:1274
↓ 1 callersMethodgreet
()
client.go:184
↓ 1 callersMethodhandle
Commands are dispatched to the appropriate handler functions.
conn.go:90
↓ 1 callersMethodhandleAuth
(arg string)
conn.go:818
↓ 1 callersMethodhandleBdat
(arg string)
conn.go:993
↓ 1 callersMethodhandleConn
(c *Conn)
server.go:151
↓ 1 callersMethodhandleData
DATA
conn.go:957
↓ 1 callersMethodhandleDataLMTP
()
conn.go:1208
↓ 1 callersMethodhandleGreet
GREET state -> waiting for HELO
conn.go:222
↓ 1 callersMethodhandleMail
READY state -> waiting for MAIL
conn.go:318
↓ 1 callersMethodhandlePanic
(err interface{}, status *statusCollector)
conn.go:1135
↓ 1 callersMethodhandleRcpt
MAIL state -> waiting for RCPTs followed by DATA
conn.go:672
↓ 1 callersMethodhandleStartTLS
()
conn.go:919
↓ 1 callersFunctionnewConn
(c net.Conn, s *Server)
conn.go:49
↓ 1 callersFunctionnewFailingListener
()
server_test.go:182
↓ 1 callersFunctionparseCmd
(line string)
parse.go:18
↓ 1 callersFunctionparseDeliverByArgument
Parses the BY argument defined in RFC2852 section 4. Returns pointer to options or nil if invalid.
parse.go:81
↓ 1 callersFunctionparseEnhancedCode
(s string)
client.go:899
↓ 1 callersFunctionparseHelloArgument
(arg string)
parse.go:68
↓ 1 callersMethodparseLocalPart
()
parse.go:206
↓ 1 callersFunctionserverHandleTLS
(c net.Conn, t *testing.T)
client_test.go:722
MethodAuth
Auth is the handler for supported authenticators.
example_server_test.go:33
MethodAuth
(mech string)
server_test.go:84
MethodAuthMechanisms
AuthMechanisms returns a slice of available auth mechanisms; only PLAIN is supported in this example.
example_server_test.go:28
MethodAuthMechanisms
()
server_test.go:77
MethodAuthPlain
(username, password string)
cmd/smtp-debug-server/main.go:26
MethodClose
Close implements io.Closer.
client.go:577
MethodConn
()
conn.go:200
MethodData
(r io.Reader)
example_server_test.go:59
MethodData
(r io.Reader)
cmd/smtp-debug-server/main.go:38
MethodError
()
server_test.go:229
FunctionExampleDial
()
example_test.go:16
FunctionExampleSendMail
()
example_test.go:71
FunctionExampleSendMail_plainAuth
()
example_test.go:60
FunctionExampleServer
ExampleServer runs an example SMTP server. It can be tested manually with e.g. netcat: > netcat -C localhost 1025 EHLO localhost AUTH PLAIN AHVz
example_server_test.go:90
MethodHostname
()
conn.go:196
MethodLMTPData
(r io.Reader, collector smtp.StatusCollector)
server_test.go:160
MethodListenAndServeTLS
ListenAndServeTLS listens on the TCP network address s.Addr and then calls Serve to handle requests on incoming TLS connections. If s.Addr is blank a
server.go:242
MethodLocalAddr
()
client_test.go:66
MethodLogout
()
example_server_test.go:73
MethodLogout
()
server_test.go:104
MethodLogout
()
cmd/smtp-debug-server/main.go:44
MethodMail
(from string, opts *smtp.MailOptions)
example_server_test.go:43
MethodMail
(from string, opts *smtp.MailOptions)
server_test.go:108
MethodMail
(from string, opts *smtp.MailOptions)
cmd/smtp-debug-server/main.go:30
FunctionNewClientLMTP
NewClientLMTP returns a new LMTP Client (as defined in RFC 2033) using an existing connection and host as a server name to be used when authenticating
client.go:145
FunctionNewClientStartTLS
NewClientStartTLS creates a new Client and performs a STARTTLS command.
client.go:121
FunctionNewServer
New creates a new SMTP server.
server.go:94
MethodNewSession
NewSession is called after client greeting (EHLO, HELO).
example_server_test.go:17
MethodNewSession
(_ *smtp.Conn)
server_test.go:56
MethodNewSession
NewSession calls f(c).
backend.go:44
MethodNewSession
(c *smtp.Conn)
cmd/smtp-debug-server/main.go:20
MethodRcpt
(to string, opts *smtp.RcptOptions)
example_server_test.go:51
MethodRcpt
(to string, opts *smtp.RcptOptions)
server_test.go:121
MethodRcpt
(to string, opts *smtp.RcptOptions)
cmd/smtp-debug-server/main.go:34
MethodRead
(b []byte)
lengthlimit_reader.go:21
MethodRead
(b []byte)
data.go:71
MethodReject
()
conn.go:1269
MethodReset
()
example_server_test.go:71
MethodReset
()
cmd/smtp-debug-server/main.go:42
FunctionSendMailTLS
SendMailTLS works like SendMail, but with implicit TLS.
client.go:803
MethodSetStatus
(rcptTo string, err error)
conn.go:1193
MethodTLSConnectionState
TLSConnectionState returns the client's TLS connection state. The return values are their zero values if STARTTLS did not succeed.
client.go:338
MethodTemporary
()
server_test.go:232
FunctionTestAuthFailed
(t *testing.T)
client_test.go:572
FunctionTestBasic
(t *testing.T)
client_test.go:72
FunctionTestBasic_SMTPError
(t *testing.T)
client_test.go:170
FunctionTestClientAuthTrimSpace
Don't send a trailing space on AUTH command when there's no initial response: https://github.com/golang/go/issues/17794
client_test.go:26
FunctionTestClientDELIVERBY
(t *testing.T)
client_test.go:1090
FunctionTestClientDSN
(t *testing.T)
client_test.go:1007
FunctionTestClientMTPRIORITY
(t *testing.T)
client_test.go:1126
FunctionTestClientRRVS
(t *testing.T)
client_test.go:1057
FunctionTestClientXtext
(t *testing.T)
client_test.go:959
FunctionTestClient_TooLongLine
(t *testing.T)
client_test.go:245
FunctionTestHello
(t *testing.T)
client_test.go:406
FunctionTestHello_421Response
(t *testing.T)
client_test.go:519
FunctionTestLMTP
(t *testing.T)
client_test.go:802
FunctionTestLMTPData
(t *testing.T)
client_test.go:878
FunctionTestNewClient
(t *testing.T)
client_test.go:326
FunctionTestNewClient2
(t *testing.T)
client_test.go:368
FunctionTestParser
(t *testing.T)
parse_test.go:7
FunctionTestServer
(t *testing.T)
server_test.go:577
FunctionTestServer8BITMIME
(t *testing.T)
server_test.go:497
← previousnext →101–200 of 251, ranked by callers