Search:

Type: Posts; User: gsanchezbiz

Search: Search took 0.18 seconds.

  1. Re: JavaMail - How do I get a specific Header of an Email?

    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",...
  2. Re: JavaMail - How do I get a specific Header of an Email?

    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.
    ...
  3. JavaMail - How do I get a specific Header of an Email?

    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...
Results 1 to 3 of 3