Documentation ¶
Overview ¶
Copyright 2020 Margaret
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachData ¶
type AttachData struct { FileName string // attached file name FileData []byte // attached file bytes }
Struct for attachments.
type Sender ¶
type Sender struct { Login string // user login Email string // user email address Password string // user password ServerSMTP string // smtp server string // contains filtered or unexported fields }
Struct - sender for sending smtp packs.
func (*Sender) NewMessage ¶
Creating new email message with attachments.
Click to show internal directories.
Click to hide internal directories.