This is simple java code for find email for all student from your desrire section.(its only applicable for uiu elms)
For use this, you have to go on elms then to your desire section then participant and copy all students data from there. paste all data to your text file which is allready created on project file.