Adding maildomain option so class and template
Setup validation using is_domain_name
switch to fail for maildomain check instead
use validate_re for maildomain check
fix regex to match most domain names
set maildomain to undef and don't include or check it if it isn't set
Merge pull request #8 from PivitPtyLtd/maildomain

Add option for setting Maildomain