...
|
...
|
@@ -95,7 +95,7 @@ class MailFun { |
|
|
*/
|
|
|
public static function toOrFrom($str){
|
|
|
|
|
|
$strs = explode(',',$str);print_r($strs);
|
|
|
$strs = explode(',',$str);
|
|
|
foreach ($strs as $k=>$s){
|
|
|
preg_match('/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/',$s,$email);
|
|
|
if(empty($email[0])){
|
...
|
...
|
|