}
rd.addField(EmailConfig.EMAIL_TO, fromStr);
} else if (metadata.toLowerCase().equals(EmailConfig.EMAIL_SUBJECT)) {
subject = msg.getSubject();
rd.addField(EmailConfig.EMAIL_SUBJECT, subject);
} else if (metadata.toLowerCase().equals(EmailConfig.EMAIL_BODY)) {
Multipart mp = (Multipart) msg.getContent();
for (int j = 0, n = mp.getCount(); i < n; i++) {
Part part = mp.getBodyPart(i);
String disposition = part.getDisposition();