package
0.0.0-20250225133122-0516d5b855ff
Repository: https://github.com/domonda/go-types.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
ExtractBodyURLs returns all HTTP URLs from the message body.
FindAllAddresses uses the AddressRegexp to find all email addresses without name part in the passed text.
HTMLToPlaintext converts HTML to plaintext by concaternating the content of text nodes with the passed delimiter between them.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMessage returns a new message using the passed from, to, subject, body, and bodyHTML arguments.
NormalizeAddressList parses an email address list less strict than the standard net/mail.ParseAddressList function fixing malformed addresses and lower cases the address part.
NormalizedAddress parses an email address less strict than the standard net/mail.ParseAddress function fixing malformed addresses and lower cases the address part.
No description provided by the author
No description provided by the author
NormalizedNullableAddress parses an email address less strict than the standard net/mail.ParseAddress function fixing malformed addresses and lower cases the address part.
No description provided by the author
No description provided by the author
No description provided by the author
ParseAddress parses an email address less strict than the standard net/mail.ParseAddress function fixing malformed addresses and lower cases the address part.
ParseAddressList parses an email address list less strict than the standard net/mail.ParseAddressList function fixing malformed addresses and lower cases the address part.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProviderDomains returns a set of known email provider domain names.
UniqueNormalizedAddressSlice returns the passed Address slice modified to only contain the sorted unique normalized address parts (address without name part) of the passed addresses.

# Variables

AddressRegexp is a compiled regular expression for an email address without name part.

# Structs

Attachment of an Email.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Address is a string containing a non-normalized email-address with an optional name part before the mandatory address part.
AddressList is a comma separated list of at least one email address.
AddressSet is a set of unique email addresses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NullableAddress is a string containing a non-normalized email-address with an optional name part before the mandatory address part.
NullableAddressList is a comma separated list of email addresses.
No description provided by the author