This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!

Anindya Roy

Ranch Hand
+ Follow
since May 11, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anindya Roy

Use Netbeans for generating code
7 years ago
You can try with instead of

Also check for . You are not setting value for

From: Example@example.com
To: 2ndExample@examile.com
Date: 6/27/2014 10:17 AM
Subject: Subject

hello sir,

this is my email content


from.
Abhi



You can extract as follows

From - from beginning to indexOf To
To - from indexOf To to indexOf Date
Date - from indexOf Date to indexOf Subject
Subject - from indexOf Subject to one line blank

rest is body

7 years ago
until and unless you post the code how people will know your problem