title: Call event and observer on Customer login in Magento
body: <p>I want to update customer cart on login.I have created an observer in folder 
  local/goodahead/customer/etc/cofig.xml</p>
  
  <pre><code>&lt;customer_login&gt;
                  &lt;observers&gt;
                      &lt;updatelogincart_observer&gt;
                          &lt;type&gt;singleton&lt;/type&gt;
                          &lt;class&gt;goodahead_customer/observer&lt;/class&gt;
                          &lt;method&gt;customerLogin&lt;/method&gt;
                      &lt;/updatelogincart_observer&gt;
                  &lt;/observers&gt;
          &lt;/customer_login&gt; 
  </code></pre>
  
  <p>and in Observer at path local/goodahead/customer/Model/Observer.php ,i have created the function customerLogin</p>
  
  <pre><code>class Goodahead_Customer_Model_Observer
  {
  public function customerLogin($observer)
      {
          $customer = $observer-&gt;getCustomer();
          mail('muemailaddress@gmail.com','hello','test');
      }
  }
  </code></pre>
  
  <p>But i am not getting any mail.</p>
  
  <p>How can i do this?</p>