package
0.0.0-20250302012944-701c1ceec546
Repository: https://github.com/khulnasoft/devsecdb.git
Documentation: pkg.go.dev

# Functions

LoginAuth returns an Auth that implements the LOGIN authentication.
NewEmailMsg returns a new email message.
NewSMTPClient returns a new SMTP client.

# Constants

ContentTypeImagePNG is the content type of the file with png extension.
SMTPAuthTypeCRAMMD5 is the CRAM-MD5 auth type of SMTP.
SMTPAuthTypeLogin is the LOGIN auth type of SMTP.
SMTPAuthTypeNone is the NONE auth type of SMTP.
SMTPAuthTypePlain is the PLAIN auth type of SMTP.
SMTPEncryptionTypeNone is the NONE encrypt type of SMTP.
SMTPEncryptionTypeSSLTLS is the SSL/TLS encrypt type of SMTP.
SMTPEncryptionTypeSTARTTLS is the STARTTLS encrypt type of SMTP.

# Structs

Email is the email to be sent.
SMTPClient is the client of SMTP.

# Type aliases

The ContentType is the type of the content.
SMTPAuthType is the type of SMTP authentication.
SMTPEncryptionType is the type of SMTP encryption.