Geeks With Blogs
Workflow Man (John Shaw) WF 4.0, BizTalk, WCF 4.0... and all things inbetween

Like many developers I have chosen to upgrade to Windows 2008 to test enterprise scenarios. I have a virtual environment that I want to test in isolation from my local machine. I'm currently trying to test some email functionality that will notify users in a windows workflow. In Windows 2003 this is really easy to do because you have the ability to setup a POP3 server to setup one or more email accounts to test this type of functionality.

 Unfortunately, I discovered two key missing features in Windows 2008:  

  • No Outlook Express to view my messages
  • No POP3 server.

After searching around the web and spending half a day of 'wasted time'. I came up with a solution that will prevent fellow developers from wasting a day like me. Essentially, we will use the out of the box SMTP server, supplied with Windows 2008 for outgoing mail ,and use the free visendo POP3 extender for inbound mail.  

Install SMTP Server  

  • Install SMTP role in windows 2008
  • Open SMTP in IIS 6.0 and add a new alias domain called 'test.com'
  • Run -> Services.msc, navigate to SMTP service and set to automatic start up
  • Reboot machine  

Install Visendo SMTP (pop3) Extender for Windows 2008  

This is a nice little program that will simulate a POP3 server on your machine. The main component is a windows service that will monitor the SMTP drop location and move sent files to a mailbox specific folder underneath the default mailroot folder. You can then pull these files from mail programs like Windows Mail by entering the credentials for that mailbox.

Install Visendo SMTP (pop3) Extender Update

<VISENDO>

<POP3>

<Outbound UseOutboundPop3="true" StoreFolder="C:\inetpub\mailroot\drop" ServerPort="110" ServerIP="192.168.10.3"/>

</POP3>

<accounts>

<mailbox datadir="C:\inetpub\mailroot\drop\me1_test_com" destination="me@test.com" password="Pass"/>

<mailbox datadir="C:\inetpub\mailroot\drop\me_test_com" destination="me1@test.com" password="Pass"/>

</accounts>

</VISENDO>  

  • Run -> Services.msc -> Start VisendoSMTPExtender service

If you have any errors see C:\ProgramData\ppedv\VisendoSMTPExtender\Logs.

Install Windows Mail 

Find out more information here.  

   

  • Enter the incoming and outgoing server to be the hostname of your machine, click Next and Finish

   

   

  • You should now have an account configured in Windows Live Mail as shown below

   

   

   

Test POP3

  • Open Windows Mail click on the account that you have just created.
  • Create a New Mail Message and address this to me@test.com, subject line, Hello World and attach a picture as shown below.

  • Click Send
  • Press F5 to send/receive.
  • If you navigate to C:\inetpub\mailroot\Drop you will see the new email message being moved into your new mail account folder
  • You should now receive your message  

   

Conclusion  

Obviously this can't be used in a production environment but in most cases this is suitable for developers needs. There are also other free mail server programs on the market that you could use such as hmailserver at http://www.hmailserver.com which are ok in development but I would still use Exchange in a production situation.  

The visendo program is pretty easy to use and if you want to add multiple accounts this can be done by adding extra mail accounts and passwords to the Visendo configuration file. In addition I have also tested this with the BizTalk 2009 POP3 adapter and there weren't any issues.

Posted on Wednesday, October 28, 2009 3:57 PM Windows 2008 | Back to top

Related Posts on Geeks With Blogs Matching Categories

Comments on this post: Windows 2008 POP3 missing

# re: Windows 2008 POP3 missing
Requesting Gravatar...
Hi ,

Thanks very much ..and very help full to me. I fallowed what u mentioned step by step but i am getting below error could please help me on this one.

Thank you
Unable to send or receive messages for the Win-dintakurthy.corp (administrator) account. The connection to the server has failed.

Server: 'win-dintakurthy.corp.com'
Windows Live Mail Error ID: 0x800CCC0E
Protocol: POP3
Port: 110
Secure(SSL): No
Socket Error: 10061
Left by Kumar on Jan 19, 2012 2:10 PM

# re: Windows 2008 POP3 missing
Requesting Gravatar...
Hi,
great article!
As you have mentioned Visendo SMTP Extender, it is in fact not necessary to edit the config file manually anymore.
We have been continuously improving and developing the software.
Amongst many other features, you can completely configure it via the admin UI now.
You can download the latest setup here:
http://www.visendo.com/VisendoDownloads.aspx?id=42

Further information on the product page (http://visendo.de/smtpextender.aspx) or in the manual.

Kind Regards
Jeremias Müller
Visendo Software
Left by visendo on Feb 04, 2013 6:38 AM

# re: Windows 2008 POP3 missing
Requesting Gravatar...
Thanks a lot.. that really helped
Left by MM on Jun 05, 2013 10:59 PM

# re: Windows 2008 POP3 missing
Requesting Gravatar...
that is awesome!I have made it!Can you recommand us more greate mail software!
Left by stanto on Apr 17, 2014 9:04 AM

Your comment:
 (will show your gravatar)


Copyright © workflowman | Powered by: GeeksWithBlogs.net