If you use wamp for PHP/ MySQL development this article to configure an email server for testing locally on your PC may be handy. This article is about installing mercury mail server on wamp. First of all download Mercury/32 Mail Transport System for Win32 and NetWare Systems v4.72 www.pmail.com/downloads_s3_t.htm Mozilla Thunde
How to Configure Mercury Mail Server on Wamp
If you use wamp for PHP/ MySQL development this article to configure an email server for testing locally on your PC may be handy.
This article is about installing mercury mail server on wamp. First of all download
- Mercury/32 Mail Transport System for Win32 and NetWare Systems v4.72
www.pmail.com/downloads_s3_t.htm - Mozilla Thunderbird www.mozilla-europe.org/en/products/thunderbird/
- Wamp (if you do not have it already) www.wampserver.com/en/download.php
Install Wamp. I have installed it in d:\wamp. It is important to install it in the topmost directory.
- SMTP: example.com
- Email: admin@example.com
Finish the wamp installation.
In your current windows installation locate the hosts file. In my system windows is installed in C drive and location is
C:\WINDOWS\system32\drivers\etc\
Open the hosts file with notepad and add the following three lines at the end of the file.
- 127.0.0.1 www.example.com # for browser access
- 127.0.0.1 mail.example.com #for email access
- 127.0.0.1 example.com #for mercury mail server
Locate the httpd conf file in your wamp installation. In my system the path is D:\wamp\bin\apache\Apache2.2.11\conf
Remove the line
ServerName localhost:80
Add the line
ServerName www.example.com:80
Now start the wamp server.
You should be able to access the wamp server by using www.example.com and http://localhost interchangeably.
Create a folder inside the wamp installation called MercuryMail.
Start the Mercury Mail Server Installation and give the installation path as D:\wamp\MercuryMail
Select New Installation
Select No Netware Support
Directory for Mercury/32 is D:\wamp\MercuryMail
Click on No Pegasus mail integration
In the Protocol Mail Section select
- MecuryS- SMTP Server module
- MercuryP- POP3 Server Module
- MercuryD-POP3 Client Module
- MercuryH- PH Query Server Module
- MercuryB-HTTP Web Server module
- Select MercuryE module for SMTP and enter the server: example.com
- Select a SMTP relaying mode : Normal
Once you have finished the installation You can start Mercury mail from Start-Programs Mercury for Win32 – Mercury for Win3
A mercury/32 window will open
Click on Widows – Tile to arrange it.
In D:\wamp\MercuryMail edit the mercury.ini file
In the line myname: localhost # Canonical name for this server
Replace localhost with example.com
Restart the mercury mail server.
In the mercury/32 window go the Configuration – manage local Users
Create two users.
Username: annu
Password: anu
Username: nitin
Password: nitin
Try to send a test mail through mercury/32 window.
Install Mozilla Thunderbird Setup 2 email accounts from Tools – Account settings
Server name will be mail.example.com while setting up accouts.
Try sending mail from annu@example.com to nitin@example.com.
It should work and you are done!


Thanks man! this reeeeeeeeeeeeally helped my out.
Keep writing!
This information was very useful, thank you so much
This is exactly what I’ve been looking for all day. I should have found your post sooner.
I’ve been looking for a while for a good read covering this issue . Searching in Google I managed to find your site. After reading this information I’m really happy to say that I most definatelly found exactly what I was looking for. I will make sure to save this blog and come again more often . Thanks!
Found your blog post on google, great share
Interesting, never thought of it like that
thank you very much very
From long time I was in search of somthing like this I dont know how to thank you man
thank very much
I want to know if you can help me setting send mail server.
I have article in INDonesian “How to configure squirel mail to colaborate with mercury mail” If you are intereseted please visit this link http://oz.orgfree.com/?p=181 and please use google translate for translate to your language..
thanks
Thanks for your post, it worked for me as well.
In my case the MercuryB-HTTP Web Server module was interfering with the WAMP webserver. In the mercury/32 window I changed the configuration of MercuryB to listen on TCP port 81 instead of port 80. Maybe this helps someone else.
I big fan of http://www.satyamtechnologies.net/articles/how-to-configure-mercury-mail-server-on-wamp/, Greetings from Panama.
Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment.
Hello, As a Newbie, I’m constantly searching on the internet aol for posts which will assist me. Thank you.
Gosh, I’ve been looking about this specific topic for about an hour, glad i found it in your website!
Hello admin, I have a tiny request. I was just searching for some info on this topic and found this post. Some really cool stuff you wrote here. Can I please share this post on my new website I am workin’ on? Please:) . I will check back again later to see how you responded. Thank you, Jean Miller .
Another great blog post. I shared this one on my Facebook – you should look at adding a “like” button to your articles.
Finally found a website that I can enjoy. Have you considered adding a Facebook fan page?
I was just searching for some info on the topic and found this post. Some really great stuff you wrote here, can I please link to this post on my new website I am currently workin on? It would be great:) Regards, Dan Wilson .
Sure!
Yes You can..
I find it difficult to subscribe RSS feeds, bookmark this site anyway I have is a very useful and complete information.
Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.
Interesting article and one which should be more widely known about in my view. Your level of detail is good and the clarity of writing is excellent. I have bookmarked it for you so that others will be able to see what you have to say.
I really enjoyed this post. I have even bookmarked it to help your pages improve in the serps. Keep up the good work!
Great post!
Thanks for sharing this article.
A friend of mine gave me a link to your website. It is definitely cool, I will be back again for sure.
Well, I don’t know if that’s going to work for me, but definitely worked for you!
Excellent post!
cool stuff given above thanks, im having a question that how to send e-mail using above process to internet mails like gmail/yahoo/hotmail accounts.
please help me!!
realy realy thank you very very much…
Thank you, thank you! It works!!!
You saved my day.
In php.ini put smtp_from, smtp_port,
outgoing smtp server information needs to be entered.