Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttachmentDir ¶
func GetAttachmentDir() string
func GetDatabase ¶
func InsertMail ¶
func MailExists ¶
func SetupDatabase ¶
func SetupDatabase() bool
Types ¶
type Config ¶
type Config struct {
MailHost string `mapstructure:"MAIL_HOST"`
MailPort string `mapstructure:"MAIL_PORT"`
MailUsername string `mapstructure:"MAIL_USERNAME"`
MailPassword string `mapstructure:"MAIL_PASSWORD"`
MailFolder string `mapstructure:"MAIL_FOLDER"`
AttachmentFolderPath string `mapstructure:"ATTACHMENT_FOLDER_PATH"`
StartTls string `mapstructure:"STARTTLS"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.