Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkClicker ¶
type LinkClicker struct {
// contains filtered or unexported fields
}
LinkClicker is mailservice.Sender that click all links from html msg parts.
architecture: Service
func NewDefaultLinkClicker ¶ added in v1.37.1
func NewDefaultLinkClicker(log *zap.Logger) *LinkClicker
NewDefaultLinkClicker returns a LinkClicker with the default marker attribute.
func (*LinkClicker) FindLinks ¶ added in v1.37.1
func (clicker *LinkClicker) FindLinks(body string) (links []string)
FindLinks returns a list of all links belonging to properly attributed anchors in the HTML body.
func (*LinkClicker) FromAddress ¶
func (clicker *LinkClicker) FromAddress() post.Address
FromAddress return empty mail address.
type NoMail ¶ added in v1.61.3
type NoMail struct { }
NoMail doesn't send out any mail.
func (NoMail) FromAddress ¶ added in v1.61.3
FromAddress implements func from mailservice.Sender.
Click to show internal directories.
Click to hide internal directories.