Documentation
¶
Index ¶
Constants ¶
View Source
const (
AUTH_MECHANISM_PLAIN = "PLAIN"
)
Variables ¶
This section is empty.
Functions ¶
func Listen ¶
func Listen(context *serverContext.Context, exitCh chan int)
Types ¶
type AuthPlainScene ¶
type AuthPlainScene struct {
// contains filtered or unexported fields
}
func (*AuthPlainScene) HandleLine ¶
func (scene *AuthPlainScene) HandleLine(receivedLine string) *smtpServer.Reply
func (*AuthPlainScene) Init ¶
func (scene *AuthPlainScene) Init(receivedLine string, protocol *smtpServer.Protocol) *smtpServer.Reply
type Session ¶
type Session struct {
LoggedUsername string
// contains filtered or unexported fields
}
func (*Session) IsConversation ¶
func (*Session) Write ¶
func (session *Session) Write(reply *smtpServer.Reply)
Write writes a reply to the specific connection
Click to show internal directories.
Click to hide internal directories.