Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPServer ¶
type SMTPServer struct {
// contains filtered or unexported fields
}
SMTPServer concept
func NewSMTPServerConnection ¶
func NewSMTPServerConnection(host string, port string, senderID string, password string) *SMTPServer
NewSMTPServerConnection a new mail connection
func (*SMTPServer) Connect ¶
func (s *SMTPServer) Connect() error
Connect stablishes a connection to the server
func (*SMTPServer) SendEmail ¶
func (s *SMTPServer) SendEmail(mail Mail) error
SendEmail send an email
func (*SMTPServer) ServerName ¶
func (s *SMTPServer) ServerName() string
ServerName returns server name
Click to show internal directories.
Click to hide internal directories.