Microsoft Knowledge Base Article 303738 contains the following summary:

This step-by-step guide describes how to enable protocol logging for Internet Information Services (IIS). Protocol logs track the commands that the Simple Mail Transport Protocol (SMTP) virtual server receives from SMTP clients over the network. You can choose which logging format the Microsoft SMTP service uses for recording information.