I think I'm a little over my head here, and I'm getting really frustrated as to why this is so complex?!
I'm writing files that go into a IIS7 pickup folder that get emailed. This works - I'm happy with that.
I'm now trying to attach excel files in each email, but that's seemingly difficult (why? - seriously WHY is this so difficult?!)
I've searched google and here and I can't find anything, I can only assume I'm searching for the wrong thing.
Let's face it - I thought this would be easier to find a solution because surely everyone would think this should be simple?!
Anyway, here's the code I have going into the pickup folder (some of it was found via google, so I'm not 100% sure what it does, but it was a start) - it attaches a file
, but the file doesn't work. It also comes through as "Ctempttest.xls" instead of just "test.xls":
Getting angry over this (as you can probably tell!)