Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 535427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:42:56+00:00 2026-05-13T09:42:56+00:00

I recently ran across this problem while trying to implement a service that has

  • 0

I recently ran across this problem while trying to implement a service that has really simple data entry. Basically what I want to do is to be able to send an email to a special email address and the mail should be parsed and then the data is to be processed by my application. Now I can find hundreds of tutorials on how to send mails from J2EE, but never on how to receive them. Is there a simple way to process incoming mails using some form of MailServlet.

Regards,
Christian

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:42:57+00:00Added an answer on May 13, 2026 at 9:42 am

    Receiving mails with a servlet is like eating soup with a knife.

    To receive mails, you need to have a mail server active; usually running either (or possibly both) SMTP and/or IMAP. This is the software that will end up accepting your mails from outside.

    Under Unix systems, you generally the mail server push received mails into a Mail Transfer Agent (MTA) that does something mundane like writing your received mails into your mailbox, which may be either a file or a directory. However, you can configure this process to alternatively pipe (in a shell) the mail into a program of your choice. That program could be a C or Java program which then accesses your Web server doing a POST with the contents of the mail, and then you could process your incoming mail on your Web server.

    But it would be much easier to process the mail in a program that is not your Web app server, perhaps an application that simply writes the mail’s contents to a database, perhaps after some processing.


    If you’re alreading doing a lot of stuff with Java, you may find it most convenient to use and maybe modify a, no the Java mail server: It’s called James. It may be easier to build mail-lets for James than to bolt some other processing on to a “standard” C mail server. However, I haven’t heard much from James lately, so I don’t know just how good a mail server it is, how actively it’s developed, etc. You’d have to do some exploring on your own (or ask more questions here).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 510k
  • Answers 510k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Without a doctype, IE will show the page in quirks… May 16, 2026 at 4:59 pm
  • Editorial Team
    Editorial Team added an answer You have 2 basic options. Option 1 you've already tried,… May 16, 2026 at 4:59 pm
  • Editorial Team
    Editorial Team added an answer Firstly, std::set<point> requires that point is less-than-comparable. You can either… May 16, 2026 at 4:59 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm trying to fix a design flaw that I recently ran across in some
I recently ran across a routine that looks something like this: procedure TMyForm.DoSomething(list: TList<TMyObject>;
I recently ran across this great article by Chad Parry entitled DIY-DI or Do-It-Yourself
I ran across this case of UnboundLocalError recently, which seems strange: import pprint def
Ran across this recently and wondering if someone out there can give me a
I recently ran across several objects implemented to handle events with a hard coded
I recently ran across a set of code which instantiated local maps as following:
I recently ran into an issue with Groovy where I was attempting to deal
I recently ran into a few problems with a third party vendor integration. In
I've been working a lot with the DateTime class and recently ran into what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.