How to customermize the

I'm using Java mail API to send mails to our customers.My problem is that i don't want to display the Name in received header or it should display of my choice.Please help me out.Thanks.
[223 byte] By [RajeevSahu_Sahua] at [2007-11-27 7:32:21]
# 1
The "Received" header is set by the mail serve that receives your message.You have no control over it.The only reason to set a fake "Received" header is because you're sendingspam and want to hide your identity.Don't do that.
bshannona at 2007-7-12 19:12:36 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thanks a lot.

I agree that setting a customized "Received" header is something like spam.

My business is some kind of chained business. The end user knows only about it's parent. He do not know that his parent is also customer of some other one.

That's why i need to send mail to end customer with some customized "Received" Header.

I tried to use addHeader("received","My customized value").. but it just add a new header instead of replacing the default "Received" Header.

Is it possible with Java Mail API? It not then where should i do this setting.

RajeevSahu_Sahua at 2007-7-12 19:12:36 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Sorry... I wrote in my previous reply that i tried addHeader()..Actually i used setHeader()..
RajeevSahu_Sahua at 2007-7-12 19:12:36 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

As I said, the Received header is set by the mail server that receives

the message. You have no control over that. Unless, of course, you

control the mail server. You do, don't you?

Unless you're trying to perpetrate some sort of fraud, exposing the

fact that mail related to the parent business goes through your mail

servers to people who take the time to look at the Received header

doesn't seem like a big deal.

bshannona at 2007-7-12 19:12:36 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...