SMTP Virtual Server not shown in IIS Manager

Recently I had this problem whereby after re-installing the SMTP service, the SMTP Virtual Server no longer appeared in the IIS Manager. If you have this same problem, here is the fix:

  1. Close down the IIS Manager.
  2. Open a command window (Start > Run 'cmd.exe', Open).
  3. Type 'c:' enter followed by 'cd\windows\system32\inetsrv' and press enter.
  4. Type 'regsvr32.exe smtpadm.dll' followed by enter.
  5. And finally 'regsrv32.exe smtpsnap.dll' again followed by enter.

You should now have the SMTP Virtual Server option back in Internet Information Services Manager.