hMailServer, free mail server for your Windows development environm... [Link]
Kafeblog
Home
hMailServer, free mail server for your Windows development environment
Tue, 05/13/2008 - 20:03 Khoi Nguyen
4
diggs digg it
Sending out email is an usually task when developing web application, so, you should have the ability to test your send mail function. hMailServer is a free e-mail server for Microsoft Windows. It supports all the common e-mail protocols (IMAP, SMTP and POP3) and comes with an easy-to-use COM library that can be used for integration with other software. It also has support for virtual domains, distribution lists, antivirus, antispam, aliases, distributed domains and much more. E-mail data is stored in a database server, MySQL or MS SQL, depending on your choice.
1. Now we start, install hMailServer on your Windows
Setup hMailServer step 1: On the welcome page, click Next
1 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Setup hMailServer step 2: Change the location for your installation, then click Next
Setup hMailServer step 3: Leave it as is, click Next (or you can change it if you understand what you do)
2 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Setup hMailServer step 4: Use built-in MySQL database server (same as above, only change it if you understand what you do), then click Next
Setup hMailServer step 5: Click Next
3 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Setup hMailServer step 6: Click Install
Setup hMailServer step 7: OK, now just wait setup do its task, copy needed files and register its component
4 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Setup hMailServer step 8: Enter your administrator password (and remember it), or simply put 'admin', this is a local setup for testing purpose, so I think it no problem
Setup hMailServer step 9: Leave the check there, click Finish
2. Configuring our hosts file
OK, we're done with the hMailServer installation, now we needs to modify a little bit in our hosts file to help lookup our domain for email.
5 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Setup hMailServer, configure hosts file step 1: Open 'Run...' dialog, enter %windir%\system32\drivers\etc then Enter, your explorer will open the folder contains a file named hosts
Setup hMailServer, configure hosts file step 2: Open the 'hosts' file in your favorite text editor, I'm use EditPlus, you can just use notepad, it's ok. Just add [Link] beside localhost as above screen. You can change this for your own domain, but ONLY when you understand what you do.
3. Add domain, add account for your mail server
After you're done the above steps, the rest is very easy. After step 1, setup wizard will end after open a little windows
6 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Configure hMailserver step 1: Leave it as is, click Connect
Configure hMailserver step 2: Enter your administrator password which we set in the installation process, or 'admin' if you don't change it
Configure hMailserver step 3: After connect, the above screen will appears, change to Status page, notice the status is Running
7 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Configure hMailserver step 4: Back to Welcome page, now, we can add new domain for our mail server, just click 'Add domain...'
Configure hMailserver step 5: Enter as above screen, please note, the domain name is the one we added in 'hosts' file. Click Save when done.
8 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Configure hMailserver step 6: Now you can create account for your domain, just click 'Add account...'
Configure hMailserver step 7: The Add account page will open, enter your desired account name, password, and quota then click 'Save'.
9 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
Configure hMailserver step 8: Your just created account will appears in the left tree panel. Hey, you know, we just done our last step. Our hMailServer already up and run, we have new domain, we have email account, to add another, just redo some step above, that's all.
Congratulation!!
Now you can setting up mail server for your Windows development environment, create domain for it, add user and send/receive e-mail with MS Outlook.
Add new comment
Beginner
mail server
windows
Comments
Excellent Article !!!!
Sun, 10/11/2009 - 18:57 Anonymous
I spent 2 full days trying to configure hMailServer with localhost settings. Visited all the sites for the solution : IIS site, hMailServer, Microsoft-what not. And googled hundreds of pages. Finally, I got the complete and working solution. I found this page when I was fed up and had almost given up. Thanks a lot for the detailed information. This worked great with Windows Mail. Best Regards !! reply
thank you very very much brother
others as yahoo. Intranet completely working. Thanks reply
Sun, 07/19/2009 - 21:34 Anonymous
You gave me a great help. Thanks alot again. I like to add 1 thing i've learned. If i have a dynamic IP i can't mail to
Per setting up local server and email client configuration
Wed, 06/10/2009 - 05:56 Anonymous
10 de 11
30/11/2009 09:09 a.m.
hMailServer, free mail server for your Windows development environm... [Link]
[Link] This all works great. If you are running on a local machine, for the pop3 and smtp servers use the machine name only. No pop3. or smtp. E.G. if your machine is called "localmachine," put that in for bot the servers. Also, look at hmail troubleshooting for using the log. With outlook, the default configuration requires using authentication on the advanced tab. Great quick tutorial. reply
Thank You!!
Dude, thank you for your post. It really help me out!!! Congratulations!!! It worked perfect with Windows Mail and Outlook! Best regards!! reply
Mon, 02/16/2009 - 02:35 Anonymous
No Subject
Tue, 01/06/2009 - 16:02 Anonymous
This works perfectly with outlook, you other idiots who say it doesn't work, you are the fucking idiots. reply
u idiot...u left off the settings
the settings....fuckin idiot! reply
Sat, 11/15/2008 - 05:04 Anonymous
settings are an integral part of this setup...how do u go the length of showing pictures of installation and then never giving
not working with outlook
tried out with [Link] but not able to send/receive mail. what will be smtp and pop3 for intranet if i use a domain [Link] reply
Sat, 07/26/2008 - 22:04 Anonymous
DONT WORK
thats great help but i set up da way u say but dont wok with out look helpp please healp please reply Copyright [Link] 2008
Fri, 07/17/2009 - 07:38 Anonymous
11 de 11
30/11/2009 09:09 a.m.