title: Cannot send mail with attachment from web
body: <p>I need to download a text file from web and attach it to a mail before sending it out. Below is what I have done but it throws exception `Failure sending mail. The request was aborded'</p>
  
  <pre><code>WebRequest request = FtpWebRequest.Create("http://samplesite/sampletext.txt"));
  request.Credentials = new NetworkCredential("admin", "admin");
  using (WebResponse response = request.GetResponse())
  {
      Stream responseStream = response.GetResponseStream();
      msg.Attachments.Add(new Attachment(responseStream, dictIterator.Key)); //on commenting this, it  works fine
  }
  client.Send(msg);  //throws exception
  </code></pre>
  
  <p>Im sure that it is something to do with the attachment as commenting it makes it work fine.</p>