diff --git a/modules/sendmail/sendmail_ajax_content.php b/modules/sendmail/sendmail_ajax_content.php
index f98f59364de04a4d66dbb9ddee9281af28f629b5..4d24c39506ad4d38c518dc561b4d105c584b77b8 100755
--- a/modules/sendmail/sendmail_ajax_content.php
+++ b/modules/sendmail/sendmail_ajax_content.php
@@ -194,13 +194,14 @@ switch ($mode) {
             $error = $request->wash_html(_INCORRECT_SENDER,'NONE');
             $status = 1;
         } else {
-            if (isset($_SESSION['adresses']['to']) && count($_SESSION['adresses']['to']) > 0 ) {
-                if (!empty($_REQUEST['object'])) {
-                    // print_r($_REQUEST);exit;
+            if ((isset($_SESSION['adresses']['to']) && count($_SESSION['adresses']['to']) > 0) || $_REQUEST['for'] == 'save') {
+                if (!empty($_REQUEST['object']) || $_REQUEST['for'] == 'save') {
                     
                     //Check adress for to
-                    $to =  join(',', $_SESSION['adresses']['to']);
-                    $error = $sendmail_tools->CheckEmailAdress($to);
+                    if(!empty($_SESSION['adresses']['to'])){
+                        $to =  join(',', $_SESSION['adresses']['to']);
+                        $error = $sendmail_tools->CheckEmailAdress($to);
+                    }
                     
                     if (empty($error)) {
                         
@@ -334,13 +335,14 @@ switch ($mode) {
                 $error = $request->wash_html(_INCORRECT_SENDER,'NONE');
                 $status = 1;
             } else {
-                if (isset($_SESSION['adresses']['to']) && count($_SESSION['adresses']['to']) > 0 ) {
-                    if (!empty($_REQUEST['object'])) {
-                        // print_r($_REQUEST);exit;
+                if ((isset($_SESSION['adresses']['to']) && count($_SESSION['adresses']['to']) > 0) || $_REQUEST['for'] == 'save') {
+                    if (!empty($_REQUEST['object']) || $_REQUEST['for'] == 'save') {
                         
                         //Check adress for to
-                        $to =  join(',', $_SESSION['adresses']['to']);
-                        $error = $sendmail_tools->CheckEmailAdress($to);
+                        if(!empty($_SESSION['adresses']['to'])){
+                            $to =  join(',', $_SESSION['adresses']['to']);
+                            $error = $sendmail_tools->CheckEmailAdress($to);
+                        }
                         
                         if (empty($error)) {