} catch (Exception $e) {
         throw new Exception("createSchedule.php : getClSubInfoFromUserOrderId Failed : " . $e->getMessage(), 1137);
     }
 }
 if ($updSession[0]["@result"] == 0 && $planType == "S") {
     $stat = 0;
     $msg = "You have already consumed your prescribed Meeting Sessions.";
 } else {
     try {
         $arrUserDetailsById = getUserDetailsByID($strCK_user_id, $objDataHelper);
     } catch (Exception $e) {
         throw new Exception("index.php : getUserDetailsByID Failed : " . $e->getMessage(), 1129);
     }
     $strUserDetails = $arrUserDetailsById[0]["nick_name"] . ":" . $arrUserDetailsById[0]["idd_code"] . ":" . $arrUserDetailsById[0]["mobile_number"];
     try {
         $invitees = insInviteesDetails($scheduleID, $strCk_user_email_address, $strUserDetails, $arrInviteesEmail, $moderator, $objDataHelper);
     } catch (Exception $e) {
         throw new Exception("createSchedule.php : inviteesDetails Failed : " . $e->getMessage(), 1133);
     }
     try {
         $insRequest = insUrlRequest($scheduleID, $strCk_user_email_address, $arrInviteesEmail, $objDataHelper);
     } catch (Exception $e) {
         throw new Exception("createSchedule.php : inviteesDetails Failed : " . $e->getMessage(), 1133);
     }
     $inviteesEmail = explode(",", $arrInviteesEmail);
     for ($i = 0; $i < sizeof($inviteesEmail); $i++) {
         $inviteesDetails[] = explode(":", $inviteesEmail[$i]);
     }
     for ($i = 0; $i < sizeof($inviteesDetails); $i++) {
         $inviteesEmailArr .= $inviteesDetails[$i][0] . ",";
     }
Exemple #2
0
     $sArr[$i] = $arrInviteeList[$i]["invitee_email_address"];
 }
 if (in_array($strInviteEmail, $sArr)) {
     $stat = "0";
     $msg = "Invitee " . $strInviteEmail . " already exists.";
 }
 if (sizeof($inviteeList) <= $inviteeCount) {
     if (strlen($msg) <= 0) {
         $gmTime = $arrSchDtls[0]["meeting_timestamp_gmt"];
         $localTime = $arrSchDtls[0]["meeting_timestamp_local"];
         $timezone = $arrSchDtls[0]["meeting_timezone"];
         $meeting_title = $arrSchDtls[0]["meeting_title"];
         $arrInviteeEmailNick = $strInviteEmail . ":" . $strInviteeName . "::";
         $strUserDetails = "";
         try {
             $invitees = insInviteesDetails($strScheduleId, "", $strUserDetails, $arrInviteeEmailNick, $moderator, $objDataHelper);
         } catch (Exception $e) {
             throw new Exception("addInvitee.php : inviteesDetails Failed : " . $e->getMessage(), 1143);
         }
         try {
             $insRequest = insUrlRequest($strScheduleId, "", $arrInviteeEmailNick, $objDataHelper);
         } catch (Exception $e) {
             throw new Exception("createSchedule.php : inviteesDetails Failed : " . $e->getMessage(), 1133);
         }
         try {
             $counter = setScheduleCounter($strScheduleId, $objDataHelper);
         } catch (Exception $e) {
             throw new Exception("addInvitee.php : setScheduleCounter Failed : " . $e->getMessage(), 1144);
         }
         try {
             $jMail = createInviteesMeetingMail($strScheduleId, $gmTime, $localTime, $timezone, $meeting_title, $strCk_user_email_address, $strCk_user_nick_name, $strInviteEmail);