Friday, January 21, 2005
SMTP Server
I was attempting to add the option to run an SMTP server on my development machine to IIS on a Windows XP box. Well, IIS didn't appreciate me adding the Simple Mail Transfer Protocol after IIS was installed previously and kept giving me an error that told me that the SMTP service failed to find the specified path: Error 3. So I went ahead and dropped IIS completely off my box and restarted my computer. Then I reinstalled IIS with SMTP selected this time and I got a successful installation! Yay!
The next step was to set up the properties for my SMTP server which involved setting up "Relay Restrictions" under the Access tab of the Default SMTP Virtual Server Properties. I selected the radio button for "Only the list below" and clicked on Add to grant Access to IP Address 127.0.0.1 (localhost). Then I ran my JUNIT test to make sure that the email was flowing freely. It was. I was happy. Now on to appending attachments to my emails.
This link was helpful in diagnosing my issue.
