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
782f80fa
ROOT
/
imap
/
imap.go
Search
History
353 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Client
Close
(expunge bool)
:
(cmd *imap.Command, err error)
Login
(username, password string)
:
(cmd *imap.Command, err error)
Logout
(timeout time.Duration)
:
(cmd *imap.Command, err error)
Select
(mbox string, readonly bool)
:
(cmd *imap.Command, err error)
UIDFetch
(seq *imap.SeqSet, items ...string)
:
(cmd *imap.Command, err error)
UIDSearch
(spec ...imap.Field)
:
(cmd *imap.Command, err error)
UIDStore
(seq *imap.SeqSet, item string, value imap.Field)
:
(cmd *imap.Command, err error)
Email
UID
:
uint32
email.Email
Mailbox
Host
:
string
TLS
:
bool
User
:
string
Pwd
:
string
Folder
:
string
ReadOnly
:
bool
Validate
(s *models.IMAP)
:
error
Response
Email
:
Email
Err
:
error
dateFormat
findEmails
(client Client, search string, since *time.Time)
:
(*imap.Command, error)
GenerateBufferSize
getEmails
(client Client, cmd *imap.Command, markAsRead, delete bool, responses chan Response)
deleteEmail
(client Client, UID uint32)
:
error
removeSeen
(client Client, UID uint32)
:
error
alterEmail
(client Client, UID uint32, flag string, plus bool)
:
error
NewEmail
(msgFields imap.FieldMap)
:
(Email, error)
*Mailbox
GetAll
(markAsRead, delete bool)
:
([]Email, error)
GenerateAll
(markAsRead, delete bool)
:
(chan Response, error)
GetUnread
(markAsRead, delete bool)
:
([]Email, error)
GenerateUnread
(markAsRead, delete bool)
:
(chan Response, error)
MarkAsUnread
(uids []uint32)
:
error
DeleteEmails
(uids []uint32)
:
error
newClient
()
:
(*imap.Client, error)
generateMail
(search string, since *time.Time, markAsRead, delete bool)
:
(chan Response, error)
All occurrences
Please wait...
Page is in error, reload to recover