Code

Updated mailForward selection list
[gosa.git] / gosa-plugins / mail / personal / mail / class_mail-methods.inc
index 30d31cecf675c0d6f7eeafb6af647885ba03801f..a17d77e4a0462d88de166d22461705d524590a50 100644 (file)
@@ -360,7 +360,7 @@ class mailMethod{
     $domain = $mailpart = "";
     $mail = $this->parent->mail;
     if(preg_match("/\@/",$mail)){
-      list($mailpart,$domain) = split("\@",$mail);
+      list($mailpart,$domain) = explode("@",$mail);
     }
 
     /* Create account_id 
@@ -429,7 +429,7 @@ class mailMethod{
     $domain = $mailpart = "";
     $mail = $this->parent->mail;
     if(preg_match("/\@/",$mail)){
-      list($mailpart,$domain) = split("\@",$mail);
+      list($mailpart,$domain) = explode("@",$mail);
     }
 
     /* Create account_id
@@ -452,7 +452,7 @@ class mailMethod{
     }
 
     if(preg_match("/\@/",$acc_id)){
-      list($mail,$domain) = split("\@",$acc_id);
+      list($mail,$domain) = explode("@",$acc_id);
       $str = trim($mail . $folder . "@" . $domain);
     }else{
       $str = trim($acc_id . $folder);