Link to home
Start Free TrialLog in
Avatar of kecoak
kecoak

asked on

How to log email

Hi,
I have got a project where we need to log every email that is sent from anywhere into the database.

example:

John wants to log all of his conversation with Anne.
He do this by CC all of his email with Anne into server@example.com

Our server then capture all emails that are sent into server@example.com and store them into the database for the purpose of data mining.

what technology do I need to implement that?

ideally a linux server with php/java/open source software
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

you know that the Email is not a serializable object in Java..
i.e. you can not make the object to get stored as a "Email" per say..

now if you want to have it stored in the data base in different fields ( i.e. to, cc, date, time, & content etc..) that can be done using the javamail APIs..
Avatar of kecoak
kecoak

ASKER

do i need an email server to receive all the emails? what email server is that?
>>He do this by CC all of his email with Anne into server@example.com

this mail needs to go to a server and it has to have a valid email address ( server@example.com ) for example..

then you can use Javamail to connect to this server and read mails off of it to store in your database...
Avatar of kecoak

ASKER

what mail server that has to be installed? can i access the inbox of that email? please provide links for tutorial please
ASKER CERTIFIED SOLUTION
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kecoak

ASKER

still dont understand.

Look in here:
http://www.highrisehq.com/tour

there is a section where you can send an email to dropbox@1234567.highrisehq.com

and your message is recorded.

how to do that?