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
26d99b5a
ROOT
/
models
/
maillog.go
Search
History
302 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MaxSendAttempts
ErrMaxSendAttempts
MailLog
Id
:
int64
UserId
:
int64
CampaignId
:
int64
RId
:
string
SendDate
:
time.Time
SendAttempt
:
int
Processing
:
bool
GenerateMailLog
(c *Campaign, r *Result, sendDate time.Time)
:
error
GetQueuedMailLogs
(t time.Time)
:
([]*MailLog, error)
GetMailLogsByCampaign
(cid int64)
:
([]*MailLog, error)
LockMailLogs
(ms []*MailLog, lock bool)
:
error
UnlockAllMailLogs
()
:
error
maxBigInt
*MailLog
Backoff
(reason error)
:
error
Unlock
()
:
error
Lock
()
:
error
Error
(e error)
:
error
Success
()
:
error
GetDialer
()
:
(mailer.Dialer, error)
Generate
(msg *gomail.Message)
:
error
generateMessageID
()
:
(string, error)
All occurrences
Please wait...
Page is in error, reload to recover