package
0.44.1
Repository: https://github.com/documize/community.git
Documentation: pkg.go.dev

# Functions

GetAuth to return SMTP credentials.
GetHost to return SMTP host details.
InviteExistingUser invites a known user to an organization.
InviteNewUser invites someone new providing credentials, explaining the product and stating who is inviting them.
NewEmail creates an Email, and returns the pointer to it.
PasswordReset sends a reset email with an embedded token.
ShareFolderExistingUser provides an existing user with a link to a newly shared folder.
ShareFolderNewUser invites new user providing credentials, explaining the product and stating who is inviting them.

# Constants

MaxLineLength is the maximum line length per RFC 2045.

# Variables

SMTPCreds return SMTP configuration.

# Structs

Attachment is a struct representing an email attachment.
Email is the type used for email messages.