mirror of https://github.com/gophish/gophish
22 lines
348 B
Go
22 lines
348 B
Go
package main
|
|
|
|
type SMTPServer struct {
|
|
Host string `json:"host"`
|
|
User string `json:"user"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type Email struct {
|
|
Subject string
|
|
Body string
|
|
To []string
|
|
Bcc []string
|
|
Cc []string
|
|
From string
|
|
}
|
|
|
|
type Config struct {
|
|
URL string `json:"url"`
|
|
SMTP SMTPServer `json:"smtp"`
|
|
}
|