title: Osticket Department Email ID
body: <p>I want to fetch the <code>ost_department email_id</code> 
  I have used the following method</p>
  
  <pre><code>$args1 = array( 'username'        =&gt; $this-&gt;osticket-&gt;username,
                  'password'        =&gt; $this-&gt;osticket-&gt;password,
                  'departmentId'    =&gt; $dept-&gt;id
                );
  
  try { 
      $getmail = $osticket-&gt;__call('ostDepartment.getInfo',$args1); 
  
      echo '&lt;pre&gt;', print_r($getmail);exit;
  } catch(SoapFault $e) {
      $error  = true;
  }
  </code></pre>
  
  <p>Here is the output for my echo </p>
  
  <pre><code>stdClass Object
  (
      [id] =&gt; 3
      [name] =&gt; bcod
      [email] =&gt; Support
      [isPublic] =&gt; 1
  )
  1
  </code></pre>
  
  <p>Through these details how can I fetch the department email id i,e support@yourdomain.com from department table of osticket</p>