Java server app that parses and responds to email from various popular sites

This project was successfully completed by smhumayun for $750 USD in 7 days.

Get free quotes for a project like this
Project Budget
$750 - $1500 USD
Completed In
7 days
Total Bids
Project Description

Java class implementation that can separate (parse) reply content from the rest of the email message.

We receive an email, let's say from Gmail, and we want to parse it to see what text we received. Then we want to reply to it. We need to support many email systems, and each sends the email with different headers, etc.

It should go something like:

public interface MailReplySeparator {

String parseReply(String content);


Where content is the received email. Right now we support emails with a format like this:

Content-Transfer-Encoding: quoted-printable

This is the reply text.

On Mon, Oct 1, 2012 at 4:23 PM, Randy Saborio wrote:

> ****


> [image: SafeT]

> *Randy*

> I need help!


> *Location information:*

> ...

So if we use the previous data as sample it will be something like:

MailReplySeparator mrs = new MailReplySeparatorImpl();

String originalText = "..."; // here goes the previous sample email text

String reply = [url removed, login to view](originalText);

[url removed, login to view](reply); // it will print "This is the reply text."

But there are plenty of different formats so do your research. We want to support replying to Hotmail (Outlook), Yahoo. We already support Gmail.

Implement a MailReplySeparatorImpl class in a way that autodetects the "right" format and parses it.

As a really important note here. The replied text could be at the beginning (sample), at the end or even in the middle of the original text. The replied text could be or could not be quoted with >.

Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online