title: Zend Framework calling another Controller Action
body: <p>Hi i have issue here of calling another controller action to send an mail, here is my code:</p>
  
  <p>user.php</p>
  
  <pre><code>public function followAction()
  {
       $follow_id = $this-&gt;_getParam('id');
       $response = "&lt;a href='javascript: void(0)'  class='i-wrap ig-wrap-user_social i-follow_small-user_social-wrap'&gt;&lt;i class='i i-follow_small-user_social ig-user_social'&gt;&lt;/i&gt;Stop Following&lt;/a&gt;";
  
       notifyEmail()  ------&gt; need to call Notity Controller with notifyEmail() Action along with           
                         params
       $this-&gt;_helper-&gt;json($response);  ----&gt; return json response
  }
  </code></pre>
  
  <p>NotifyController.php</p>
  
  <pre><code>&lt;?php
  
  class NotifyController extends Zend_Controller_Action
  {
  
      public function init()
      {
          /* Initialize action controller here */
  
      }
  
       public function index()
      {
  
      }
  
       public function notifyEmailAction()
      {
            // rest of email code goes here
      }
  
  }
  </code></pre>
  
  <p>Thanks for help!</p>