# How can I configure the IIS SMTP service to store *all* emails (regardless of domain) in the drop folder?

How can I configure the IIS SMTP service to store all emails (regardless of domain) in the drop folder?

I'm trying to catch all emails sent to an SMTP server during testing. I don't want to relay the emails on to their final destination, I just want them to sit in the C:\inetpub\mailroot\Drop folder so that I can inspect them later on.

Is this even possible with IIS's SMTP server?

I'm using Server 2008 R2 Standard with just the SMTP feature installed.

• This worked perfect for us - IIS just drops the non-routable mail into the Bad folder (c:\inetpub\mailroot\badmail). Great suggestion! – SliverNinja - MSFT Jul 27 '15 at 13:50