crash.software
Projects
Pull Requests
Issues
Builds
gophish
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gophish
Files
🤬
Sign In
faadf0c8
ROOT
/
mailer
/
mailer.go
Search
History
223 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MaxReconnectAttempts
ErrMaxConnectAttempts
underlyingError
:
error
Mailer
Start
(ctx context.Context)
Queue
([]Mail)
Sender
Send
(from string, to []string, msg io.WriterTo)
:
error
Close
()
:
error
Reset
()
:
error
Dialer
Dial
()
:
(Sender, error)
Mail
Backoff
(reason error)
:
error
Error
(err error)
:
error
Success
()
:
error
Generate
(msg *gomail.Message)
:
error
GetDialer
()
:
(Dialer, error)
MailWorker
queue
:
chan []Mail
NewMailWorker
()
:
*MailWorker
errorMail
(err error, ms []Mail)
dialHost
(ctx context.Context, dialer Dialer)
:
(Sender, error)
sendMail
(ctx context.Context, dialer Dialer, ms []Mail)
*ErrMaxConnectAttempts
Error
()
:
string
*MailWorker
Start
(ctx context.Context)
Queue
(ms []Mail)
All occurrences
Please wait...
Page is in error, reload to recover