コード例 #1
0
 /**
  * Get the default 'email from account' that is used to send emails in the server email in PM
  *
  *
  * @url GET /current-email-account
  *
  */
 public function doGetEmailAccount()
 {
     try {
         $Pmgmail = new \ProcessMaker\BusinessModel\Pmgmail();
         $response = $Pmgmail->emailAccount();
         return $response;
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }