• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to Modify a MimeMessage

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

I already have a mime message with multiple embedded attachments.

For e.g.

 Message 1
 |
 |--> Message 2 [ 1st attachment to Message 1 ]
           |
           |--> Message 3 [ 1st attachment to Message 2 ]
                    |
                    |--> Message 4 [ 1s attachment to Message 3 ]

I got the top level message i.e Message 1 with some

From : [email protected]



Every message will have some

From

value.

I want to just the change the values of From header for embedded messages i.e. Message 2, Message 3 and Message 4, keeping rest information intact.

Guys, please tell me the the way to do it

Thanks,
Rawat|
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic