Skip to content

Commit 7425a29

Browse files
committed
Fixed: FS#2372 - won't add "send copy to" e-mail address containing one letter after @
1 parent d6aef1d commit 7425a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/mail/form/mail_user.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
'datatype' => 'VARCHAR',
137137
'formtype' => 'TEXT',
138138
'validators' => array ( 0 => array ( 'type' => 'REGEX',
139-
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\w+\.[a-z\-]{2,10}){0,1}$/i',
139+
'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i',
140140
'errmsg'=> 'cc_error_isemail'),
141141
),
142142
'default' => '',

0 commit comments

Comments
 (0)