Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.
- In setup, select internal db engine.
- Now you have a service called hMailServer and an administration program on the Windows start menu (hMailServer Administrator).
- Open hMailServer Administrator program.
- Click on "Domains" and then "add domain".
- At "domain name" put a fake domain to test. Use "localhost.com" (without the quotes): hMailServer requires a fully qualified domain, so, we cannot use @localhost.
- Make sure to add your domain (localhost.com) to hosts file: C:\windows\system32\drivers\etc\hosts
- Expand Settings > Protocols > SMTP -> Delivery of e-mail
- At "Host name" put "localhost" (without the quotes).
- Check if TCP Port is 25.
- Go to "Domains", click on the created domain, and then click on "accounts", then "add account".
- At "address", create your account name, here I use "rael" (without the quotes), and put a password.
- Change "Administration level" to "Server".
- Enabling this, you can use any email address ending with you fake domain. Example: here, my unique account is [email protected]. But while testing systems, I can use any address like [email protected], [email protected], etc, because all will be redirected to [email protected]
- Open "Domains", click on your domain, open Advanced tab, fill field "catch-all address" with account created on previous step.
- At Windows, you can use Windows Live Email (http://explore.live.com/windows-live-essentials-other-programs?T1=t2).
- Of course, you can use any email client.
- While configuring
- Incoming Server is POP3, and the username is the full email address (like [email protected]), and the password is raw text (no encrypt).
- POP3 and SMTP server are "localhost" (without the quotes).
- Outgoing server do not require authentication.
- Don't use the email client and the hMailServer Administration application at the same time!
Can you add example scripts on how to add attachments etc?