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
v0.4.0
ROOT
/
models
/
smtp.go
Search
History
195 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SMTP
Id
:
int64
UserId
:
int64
Interface
:
string
Name
:
string
Host
:
string
Username
:
string
Password
:
string
FromAddress
:
string
IgnoreCertErrors
:
bool
Headers
:
[]Header
ModifiedDate
:
time.Time
TableName
()
:
string
Header
Id
:
int64
SMTPId
:
int64
Key
:
string
Value
:
string
ErrFromAddressNotSpecified
ErrHostNotSpecified
ErrInvalidHost
GetSMTPs
(uid int64)
:
([]SMTP, error)
GetSMTP
(id int64, uid int64)
:
(SMTP, error)
GetSMTPByName
(n string, uid int64)
:
(SMTP, error)
PostSMTP
(s *SMTP)
:
error
PutSMTP
(s *SMTP)
:
error
DeleteSMTP
(id int64, uid int64)
:
error
*SMTP
Validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover