Package cl.obcom.desktopfx.util
Class MailUtil
java.lang.Object
cl.obcom.desktopfx.util.MailUtil
Utility methods that perform general mail operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkMailAddress
(String str) Returnstrue
if the supplied string is a valid mail address.static String
Returns a string with a new random mail verification code.
-
Method Details
-
newMailVerificationCode
Returns a string with a new random mail verification code.- Returns:
- a string with a new random mail verification code.
-
checkMailAddress
Returnstrue
if the supplied string is a valid mail address.- Parameters:
str
- the string to be checked (can be null).- Returns:
true
ifstr
is a valid mail address.
-