title: Get destination email addresses from Sent Items folder in Outlook Interop C#
body: <p>i'm using Outlook Interop and C# to get some mail information to create an excel report. I have email items list from Sent Items folder and i want to get the email address who i sent the mail. I found the "To" property but only return the person name not the address.</p>
  
  <p>Anyone can please help me to return the email addres from Outlook.MailItem object?
  You can ask me if you need more information. Thanks!!!!</p>
  
  <p>Here is my code where i am setting the properties:</p>
  
  <pre><code>    foreach (object mail in mails)
      //mails is a list from Sent Items folder
          {
              if (mail is Outlook.MailItem)
              {
                  var item = (Outlook.MailItem)mail;
                  //i need the address in provider email
                  var providerEmail = someProperty(????);
                  var name = item.To;
                  var request= "Other Request";
                  var emailDate= item.ReceivedTime;
                  var status = "Closed";
                  var responseDate= item.CreationTime;
                  var reportObject = new ReportModel
                  {
                      Email = providerEmail ,
                      Name = name,
                      Solicitud = request,
                      EmailDate = emailDate,
                      Status = status,
                      ResponseDate = responseDate
                  };
              }
          }
  </code></pre>