Glenn Sanchez

Glenn Sanchez

  • NA
  • 83
  • 34.6k

Hidden Attachment using System.Net.Mail

May 18 2012 12:17 AM
Hi All,

Is there a way to attach a file using System.Net.Mail wherein the file is hidden from the recipients outlook application?


Here is part of my code:

m.Attachments.Add(new net.Attachment("c:\\hiddenfile.txt"));

Thanks.