The usually the format of the mail will be HEADER1 HEADER2 HEADER3 .. .. .. HEADERn
BODY Please note there will be a blank line b/w the end of the header and the body. So you start from the beginning of the mail and keep ignoring the lines until you find a blank line The rest of it would be the body. Thanks Prasanna -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 2:42 PM To: beginners@perl.org Subject: Separating the body of the text in email from its header Hi, I need a urgent help.... How can we separate the body of the text in an email from its header? Regards, Praveena -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/