Documentation ¶
Overview ¶
Copyright 2020-2023 NGR Softlab
Copyright 2020-2023 NGR Softlab ¶
Copyright 2020-2024 NGR Softlab ¶
Copyright 2020-2024 NGR Softlab ¶
Copyright 2020-2024 NGR Softlab ¶
Copyright 2020-2023 NGR Softlab
Index ¶
Constants ¶
View Source
const ( HtmlContentType = "text/html" PlainTextContentType = "plain/text" MultipartMixedContentType = "multipart/mixed" VndSheetContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" )
Content types
View Source
const ( Utf8Charset = "utf-8" Base64Charset = "base64" )
Charsets
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachData ¶
AttachData struct for attachments
type MessageParams ¶ added in v1.1.0
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 }
Sender struct - sender for sending smtp packs
func (*Sender) NewMessage ¶
func (s *Sender) NewMessage(params *MessageParams) error
NewMessage creating new email message
Click to show internal directories.
Click to hide internal directories.