Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We are assigned a project in our college. Project's title is "Email based interpreter". In this we have been asked to make an application from which we can send commands via email to a remote system and the app will turn message body into xml and execute command from xml extracted and send the result back to the source. any idea how should i start this.... Plse rply.... I dnt know where and how to start... Plse help.. :( :(
Posted

Break it down into pieces thjat either you do know haow to do, or can work out. If those peices are too big, break them down until you get to somethign you can do, or can research how to do.

Your task is already broken down into major modules:
1) Send commands via email to a remote system
2) Turn message body into xml
3) Execute command from xml
4) Send the result back to the source.

So, look at the first one: do you know how to send an email?
Hint: if you look here http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=6122202[^] under tips you might find something kinda useful...:laugh:

Once you get started, it looks a lot easier, it's just that you are bogged down by thinking of it as a single task.
 
Share this answer
 
Comments
ridoy 29-Sep-12 13:58pm    
exactly what i think to give an answer..nothing left for me OG.:)..+5
An email server for testing and development is HMail Server[^].
Please be ware of the "auto-ban" in the settings, the rest is pretty simple.

Resources for JavaMail API:

JavaMail API[^]
Fundamentals on the JavaMail API[^] (PDF, great source, simple & good written!)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900