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
4b106b3f
ROOT
/
imap
/
imap.go
Search
History
212 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Client
Login
(username, password string)
:
(cmd *imap.Command, err error)
Logout
(timeout time.Duration)
:
(cmd *imap.Command, err error)
Select
(name string, readOnly bool)
:
(mbox *imap.MailboxStatus, err error)
Store
(seq *imap.SeqSet, item imap.StoreItem, value interface{}, ch chan *imap.Message)
:
(err error)
Fetch
(seqset *imap.SeqSet, items []imap.FetchItem, ch chan *imap.Message)
:
(err error)
Email
SeqNum
:
uint32
email.Email
Mailbox
Host
:
string
TLS
:
bool
IgnoreCertErrors
:
bool
User
:
string
Pwd
:
string
Folder
:
string
ReadOnly
:
bool
Validate
(s *models.IMAP)
:
error
*Mailbox
MarkAsUnread
(seqs []uint32)
:
error
DeleteEmails
(seqs []uint32)
:
error
GetUnread
(markAsRead, delete bool)
:
([]Email, error)
newClient
()
:
(*client.Client, error)
All occurrences
Please wait...
Page is in error, reload to recover