com.opencms.util
Class MailUtils

java.lang.Object
  |
  +--com.opencms.util.MailUtils

public class MailUtils
extends Object

This is a general helper class for applications sending mails

Author:
Stefan Marx (Stefan.Marx@framfab.de)

Constructor Summary
MailUtils()
           
 
Method Summary
static boolean checkEmail(String address)
          Check a given email address for conformness with RFC822 rules, see http://www.rfc-editor.org/rfc.html
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailUtils

public MailUtils()
Method Detail

checkEmail

public static boolean checkEmail(String address)
Check a given email address for conformness with RFC822 rules, see http://www.rfc-editor.org/rfc.html

Parameters:
address - EMail address to be checked
Returns:
true if the address is syntactically correct, false otherwise.