Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to extract and Parse email header in OBPM using java

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Thanked 0 Times in 0 Posts

    Default How to extract and Parse email header in OBPM using java

    Hi All,

    I will be developing a change and would like to know how can i parse a mail header in OBPM using java.

    I want to get the message id, date and time the email recieved and email size.

    Our code is already fetching the attachment of the email using the following syntax.

    mailAttachments = mail.attachments;

    I tried creating a variable like mailHeaders = mail.headers, would you know how can i get the details i want by parsing the variable? so far I wasn't able to check what mail.headers return as i'm currently having issues running our code locally due to DB connections.

    Many Thanks,

    Last edited by kennethdizon; April 24th, 2014 at 06:31 AM.

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: How to extract and Parse email header in OBPM using java

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

Similar Threads

  1. Set Footer and Header in Document using Java
    By raghu3.ankam in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 24th, 2014, 07:01 AM
  2. Replies: 3
    Last Post: June 15th, 2013, 09:34 PM
  3. Help required in creating header file using java
    By Phoenix23 in forum Java Native Interface
    Replies: 8
    Last Post: March 28th, 2013, 08:05 AM
  4. Java Code Send email from email id configured in outlook
    By Hrithik in forum Java Theory & Questions
    Replies: 0
    Last Post: September 21st, 2012, 02:41 AM
  5. JavaMail - How do I get a specific Header of an Email?
    By gsanchezbiz in forum Java SE APIs
    Replies: 4
    Last Post: December 13th, 2011, 02:27 PM