public abstract class MailUtils extends Object
Methods to work with email addresses (from bremersee.org).
Be aware: Other mail domains / server may treat email addresses in a
different way.
| Modifier and Type | Field and Description |
|---|---|
static String |
BREMERSEE_EMAIL_REGEX
|
static String |
EMAIL_REGEX
|
| Modifier and Type | Method and Description |
|---|---|
static String |
buildMailAddress(String localPart,
String mailDomain)
Build an email address from the local part and the mail domain name.
|
public static final String EMAIL_REGEX
public static final String BREMERSEE_EMAIL_REGEX
bremersee.org (
RFC 5322, but without
'%').public static String buildMailAddress(String localPart, String mailDomain)
localPart - the local part of the email addressmailDomain - the mail domain nameCopyright © 2017 bremersee.org. All rights reserved.