title: Looping over files of folder and add as attachment
body: <p>I have a folder which will contain <code>.pdf</code> and <code>.xls</code> but the numbers will vary from time to time and this is the main issue for me.Now as per my requirement i have to read the location of both of these types of files and add as attachment into my smtp mail code like this ..</p>
  
  <pre><code>Attachment att = new Attachment(sourceDir);
  mail.Attachments.Add(att);
  </code></pre>
  
  <p>This is for the one file attachment .How to add all as described above as attachement in this code..
  Please help me..</p>