Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SendgridAPIKey string
SendgridAPIKey stores the token to ensure a valid connection to the sendgrid API
Functions ¶
func SendMail ¶
func SendMail(fromName, fromEmail, subject, toName, toEmail, contentType, content string) (*rest.Response, error)
SendMail is used to send a mail through the sendgrid API
func ValidateHost ¶
ValidateHost is used to check if an email is valid by checking MX records ++
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.