You are here
Home > How To > Resolve Windows Live Mail Error When Using smtp4dev

Resolve Windows Live Mail Error When Using smtp4dev

Fallback Image

smtp4dev test email sendsmtp4dev is an excellent testing tool to add to your tools library. Go ahead and download smtp4dev from CodePlex. It is a dummy SMTP server which is compatible with Windows 7/Vista/XP/2003/2010. smtp4dev Will sit in the system tray and listen for messages on the port you specify (usually port 25).

The best thing about smtp4dev is that it will not deliver the received messages. You can then view the messages or save them and inspect the source/structure. This makes smtp4dev very useful for testing/debugging software that needs to generate emails. I recently used it to test the email functionality from a VBScript.

Using Email Viewers With smtp4dev

One of the things to remember is to use a viewer to view the emails caught by smtp4dev. The quickest one to install and use is Windows Live mail. The easiest way to get Windows Live Mail is to download and install Windows Essentials which is free. Apart from Windows Live Mail, Windows Essentials includes Photo Gallery, Movie Maker and Windows Live Writer for creating blog posts. You can however choose which packages you want to install at installation time.

After completing my install, I wanted to view a mail in smtp4dev. For the first time, I received an error when trying to view an email using Windows Live Writer and smtp4dev. (Please note, this error was as a result of Windows Live Mail and NOT smtp4dev)

windows live mail error

The error I received was:

The program can’t start because WLDCore.dll is missing from your computer. Try reinstalling the program to fix this problem

This was strange to me as I had just installed Windows Live Mail in my test VM. (I love VirtualBox for setting up testing environments and testing different software or new Operating Systems. See my post: Clone VirtualBox VM’s Easily To Provide a Fresh Dev Environment)

Luckily the resolution to this issue was a really easy one.

wldcore dll copy from location

Simply navigate to the Windows Live installation folder and copy the wldcore.dll file from the Shared folder.

wldcore dll copy to location

Navigate to the Mail folder and paste the wldcore.dll file in there.

windows live mail starting

This time, when you click on a mail to view in smtp4dev, you will see Windows Live Mail start without a problem.

Image

Dirk Strauss
Dirk is a Software Developer and Microsoft MVP from South Africa. He loves all things Technology and is slightly addicted to Twitter and Jimi Hendrix. Apart from writing code, he also enjoys writing human readable articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has yet to master.

Similar Articles

  • Thank you, it fixed my issue after I installed one or more of the following: MySQL 5.1, Web Matrix off the Web Platform Installer.

    • Dirk Strauss

      You’re welcome. I’m glad the article helped Arthur 🙂

  • alekdavis

    Great. This was really helpful. Thanks for sharing.

    • Dirk Strauss

      Awesome Alek. Thanks for reading the blog!

  • GB

    Well I’m using smtp4dev for some time and today was my first try with it and Windows Live Mail. Bumped on the error and I couldnt believe the first google result was an article on using Windows Live Mail with smtp4dev 🙂 Thanks for sharing!

    • Dirk Strauss

      I’m glad the article helped you 🙂

  • Also may be use FakeSMTP for testing
    http://fakesmtp.ru/

  • Flavio Dias

    Ótimo ajudou muito! Já compartilhado.

  • Wow one of the first of you posts I came across by googling thanks this helped alot 🙂

    • Hey Henzard! Long time no see mate. Hope you survived today’s storm… lol, it knocked out my ADSL for a while. Anyway, I’m glad that this blog post helped you bud. Have a good one!

  • Janasworld

    Thank you very much for your tutorial. Now it goes again…

Top