tbrehm
2012-08-15 7425a29f3222e8721bda7dd1ea7ed015d14b2097
Fixed: FS#2372 - won't add "send copy to" e-mail address containing one letter after @
1 files modified
2 ■■■ changed files
interface/web/mail/form/mail_user.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user.tform.php
@@ -136,7 +136,7 @@
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
            'validators'    => array (     0 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\w+\.[a-z\-]{2,10}){0,1}$/i',
                                                        'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i',
                                                        'errmsg'=> 'cc_error_isemail'),
                                    ),
            'default'    => '',