You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
449 B
20 lines
449 B
package main |
|
|
|
// Email for sending |
|
type Email struct { |
|
Recipients []string |
|
Subject string |
|
Cc []string |
|
Bcc []string |
|
Body string |
|
} |
|
|
|
// Config struct |
|
type Config struct { |
|
PrivateKey string `json:"private_key"` |
|
KeyPass string `json:"key_pass,omitempty"` |
|
MyEmail string `json:"email"` |
|
EmailPass string `json:"email_pass,omitempty"` |
|
SmtpServer string `json:"smtp_server"` |
|
AuthServer string `json:"auth_server"` |
|
}
|
|
|