Posts Tagged ‘attachment’
Exchange 2007/2010 : Renaming attachments ‘on the fly’ – custom transport agent
Viewed 2,339 time(s) |
Add this post to Your Favorite Posts
It may sound a bit extraordinary, but I needed to have the ability to change attachment filenames while they were being processed by the transport service on Exchange. I can’t really tell you why I needed this functionality, but I guess there could be many reasons to do so. (e.g. zip files should be renamed to .zip.renamed so they need to be saved to disk first, renamed and then opened, and so on). Anyways, I could not find a way to do this with the Exchange built-in features, so I had to write my own custom transport agent to do this.
The agent is written in C#, uses .Net Framework 3.5, uses the native MS Exchange API’s and works fine with Exchange 2007 (I’ve only tested SP1) and 2010 (beta 1). The dll has been compiled for x64 (64bit) systems only.
Putting …

