Click here to Skip to main content
15,902,492 members

Comments by trotter246 (Top 1 by date)

trotter246 25-Aug-10 7:12am View    
Thanks Dave, I tried this and still get the error, may be I sould have posted the other bit of code:-

String sFile = "c:\Source\*.txt";
MailAttachment oAttch = new MailAttachment(sFile, MailEncoding.Base64);