Versions in this module Expand all Collapse all v1 v1.1.0 Aug 5, 2020 Changes in this version + var MailFrom = os.Getenv("MAIL_FROM") + var MailHost = os.Getenv("MAIL_HOST") + var MailPassword = os.Getenv("MAIL_PASSWORD") + var MailPort = os.Getenv("MAIL_PORT") + var MailSecure = os.Getenv("MAIL_SECURE") + var MailUser = os.Getenv("MAIL_USER") + func SendMail(to, subject, htmlPath string, attachment []Attachments, data interface{}) error + type Attachments struct + AttachmentBase64 string + AttachmentName string