how to build a webmail server....


I'm a student of telecommunications and I'm preparing my degree final work. I want to build a software based in Java.
This application have to became a traditional pop3 server to a webmail (using servlets). I have a training lisence of mdaemon software but I don't know if I can use the mdaemon API directly.
I need to know if it's possible, and in this case, how to do it.

If you answer me, you earn 500 points but, indepently of the question, I'm looking for somebody who had been worked in a similar project and could help me and give me ideas.

Thank you very much,

Pablo Lamarca. Spain.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I can give you a few sites where they have shown how to send emails through servlets:

the above link would give you servlet source code to send emails.....
Here are links to servlet open sources for POP3:

It uses the JavaMail API, while  mdaemon is written in Java(pretty sure?).
I mean that mdaemon API is not for Java, while the intent of your project is to create Java sources for a POP3 server.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

pableteAuthor Commented:
Thanks for you answer, sameerjoshi, but I'm looking for something more specific. (I'm not an expert and I have to wait a lot of days to achieve 500 points, you know...).

I will try to explain my troubles again... I'm not interested about a servlet what sends email. Maybe I'm in the wrong way, but I was thinking about a java software what it works as an interface between the pop3 server (mdaemon) and the www.

another question... if the pop3 server software is not written in Java, how can I communicate with it? Is it possible? Can a Java program call methods of another language API?

I know... my knowledge of programming is awful (two weeks ago I only used to program in bc31). I really need your help!!!

Thanks a bunch!


I have not seen the mdaemon API, but if it is C/C++, then you can use what is a wrapper by Java Native Inteface. Native being
the Win32 OS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pableteAuthor Commented:
Thanks for your answer, I accept it. If you want to share more information about this subject, don't hesitate to write me a mail. (


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.