Documentation
¶
Index ¶
- Constants
- type EmailServer
- type EmailUtils
- func (e *EmailUtils) BatchSend() error
- func (e *EmailUtils) Send(sub string, txt []byte) error
- func (e *EmailUtils) SendWithSTL(sub string, txt []byte) error
- func (s *EmailUtils) WithReceiver(receiver string) *EmailUtils
- func (s *EmailUtils) WithSender(from string, account string, password string) *EmailUtils
- func (s *EmailUtils) WithServer(t int8) *EmailUtils
- func (s *EmailUtils) WithServerConfig(server string, port string, popServer string, popPort string) *EmailUtils
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailServer ¶
func (*EmailServer) Host ¶
func (e *EmailServer) Host() string
type EmailUtils ¶
type EmailUtils struct {
// contains filtered or unexported fields
}
func New ¶
func New() *EmailUtils
func (*EmailUtils) BatchSend ¶
func (e *EmailUtils) BatchSend() error
func (*EmailUtils) Send ¶
func (e *EmailUtils) Send(sub string, txt []byte) error
func (*EmailUtils) SendWithSTL ¶
func (e *EmailUtils) SendWithSTL(sub string, txt []byte) error
func (*EmailUtils) WithReceiver ¶
func (s *EmailUtils) WithReceiver(receiver string) *EmailUtils
func (*EmailUtils) WithSender ¶
func (s *EmailUtils) WithSender(from string, account string, password string) *EmailUtils
func (*EmailUtils) WithServer ¶
func (s *EmailUtils) WithServer(t int8) *EmailUtils
func (*EmailUtils) WithServerConfig ¶
func (s *EmailUtils) WithServerConfig(server string, port string, popServer string, popPort string) *EmailUtils
Click to show internal directories.
Click to hide internal directories.