Using Apache James to send e-mail from a Windows desktop

I use Windows at work and it doesn’t have sendmail program, like Linux or Mac. With Windows XP, there is the IIS built-in SMTP service. But, yet I use Apache Server and not IIS.

Until recently I had a hard time testing applications that send e-mails. But then I found the Apache James project. Despite some issues that I have with PHPMailer specific settings, it works just fine.

James doesn’t require installation. Just unzip the package and configure the service by copying %jamesdir%\conf\wrapper.conf to %jamesdir%\bin\. Then, from a command line, run:

wrapper.exe -i wrapper.conf

And, that’s it!

Now you can use localhost as SMTP server for your applications.

Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.