MailSupport
class in package klyn.mails

    public class MailSupport:

MailSupport

Internal helper functions shared by `klyn.mails`.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | appendUniqueHeader `appendUniqueHeader(lines as ArrayList<String>, usedNames as ArrayList<String>, name as String, value as String) as Void:` | No summary.
public static | contentHeaderBlocked `contentHeaderBlocked(name as String) as Boolean:` | No summary.
public static | dotStuff `dotStuff(value as String) as String:` | No summary.
public static | encodeHeaderText `encodeHeaderText(value as String) as String:` | No summary.
public static | encodePhrase `encodePhrase(value as String) as String:` | No summary.
public static | formatDate `formatDate(value as DateTime = null) as String:` | No summary.
public static | generateBoundary `generateBoundary() as String:` | No summary.
public static | generateMessageId `generateMessageId(address as String, session as Session = null) as String:` | No summary.
public static | headerNamesContain `headerNamesContain(names as ArrayList<String>, value as String) as Boolean:` | No summary.
public static | isAsciiHeaderSafe `isAsciiHeaderSafe(value as String) as Boolean:` | No summary.
public static | joinAddresses `joinAddresses(values as Object) as String:` | No summary.
public static | normalizeCrlf `normalizeCrlf(value as String) as String:` | No summary.
public static | pad2 `pad2(value as Int) as String:` | No summary.
public static | quoteParameter `quoteParameter(value as String) as String:` | No summary.
public static | require `require(condition as Boolean, message as String) as Void throws MessagingException:` | Performs a mail or SMTP operation.
public static | sanitizeHeaderValue `sanitizeHeaderValue(value as String) as String:` | No summary.
public static | wrap `wrap(value as String, lineLength as Int = 76) as String:` | No summary.