Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all
a i am making an application that would retrieve the contents of the email from the ip packet...
i am a beginner in network programming..can any body send me some samples about this....
thanx
with regards
Posted

1 solution

No.
Why not? Because it won't work.
There is no "IP Packet" that contains the whole of an email: like everything else, they are broken across a number of packets, and all of them are required, in the right order, to build the email. There is no packet type which says "I hold email data" or similar which you can grab.

Sorry - back to the drawing board! :laugh:
 
Share this answer
 
Comments
vaibhavbvp 3-Jul-11 7:08am    
hi sir
i agree that whole of the email content would not be in a single packet...but the whole of the email would be in the form of packets..cant i retrieve data of the eamils from those small chunnk of packet data???
OriginalGriff 3-Jul-11 10:54am    
Possibly - but you'd need to know which are email data packets, and the IP packet does not know, so it can't help you.
You would have to look at the dataflow a level or two higher in the pyramid - ANd even then it's not guaranteed - what if the email is picked up via a website, like gmail, or through AfterLogic web mail? Then it just looks like website data...
vaibhavbvp 25-Jul-11 1:56am    
okay got your point..thanx for your kind help.. :)

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