Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java mail: How to change the header information  RSS feed

 
Sherry Chandra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to delete some information from the header when a mail is sent.
The header includes all information with the name of my system which is not relevant with the present scenario.
Is there any way by whixh i can send only some pre determined number of entries in the header.
I read somewhere that "To" field is the only one neccessary!!!
Can any one throw some light on this.
I am still not able to display only the user name rather then the full e mail address when i send a mail using javax.mail Package...

Thanks and regds
Sharath
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The header includes all information with the name of my system which is not relevant with the present scenario.

No from address...no header information... next you'll be asking if anyone knows an ISP who doesn't monitor their SMTP servers very well. Its beginning to sound like you are writting a spam system Sherry Chandra.
 
Sherry Chandra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,
Thanks for ur reply and sorry for the doubts it raised...No i dont have any such intentions...I was just wondering whether that is possible or not...because i am really interested in web applications and this was a new area...so i was more curious..

hope i did not upset you..

With Regds,
Sherry
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!