title: Getting From, SentOnBehalfOfName and Account name from MailItem Object (Outlook Shared Addins)
body: <p>I am using Vs2010 -> Extensibility->Shared Add-in 
  I have added a event handler to my ItemSend </p>
  
  <pre><code>applicationObject.ItemSend += new Outlook.ApplicationEvents_11_ItemSendEventHandler(applicationObject_ItemSend);  
  
  void applicationObject_ItemSend(object Item, ref bool Cancel)
  {
      if(Item is Outlook.MailItem)
      {
          Outlook.MailItem mailItem = Item as Outlook.MailItem;
          if (mailItem != null)
          {
             MessageBox.Show("Sender's Email Address "+mailItem.SenderEmailAddress);
             MessageBox.Show("Sender's Email Address "+mailItem.SentOnBehalfOfName); 
            MessageBox.Show("Sender's Email Address "+mailItem.SendUsingAccount);
          }
      }
  }
  </code></pre>
  
  <p><code>mailItem.SenderEmailAddress,mailItem.SentOnBehalfOfName</code> and <code>mailItem.SendUsingAccount</code>
  I am geting all of this property null </p>
  
  <p>Please can you anyone help me out 
  I want to get From, <code>SentOnBehalfOfName</code> and Account name from with the email was sent.</p>