Hi,
I figured it out how to do it.
MimeMessage m = (MimeMessage) inbox.getMessage(i);
System.out.println(m.getMessageID());
Though using code disregards Message-ID "X-TM-IMSS-Message-ID",...
Type: Posts; User: gsanchezbiz
Hi,
I figured it out how to do it.
MimeMessage m = (MimeMessage) inbox.getMessage(i);
System.out.println(m.getMessageID());
Though using code disregards Message-ID "X-TM-IMSS-Message-ID",...
Hi,
Thanks for the reply.
Your solution really worked. But, is there a way to prevent looping through all of then elements of Header?
I'm looking at using getHeader() function.
...
Hi to All,
I'm trying to extract the Message-ID from an Email and I found this code online which gives me the entire header information:
package bgmailproc;
import java.util.*;
import...