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

JavaMail Envelope Question  RSS feed

Tripp Bishop
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy all,

Is there a way to set the SMTP envelope's "From" address. I need to specify a value for this that is different from the "From:" header address. The reason that I want to do this is so that mails that bounce can be routed to special mailboxes that I want to monitor so that I can correct the recipient's address (or at least try). I know there's gotta be a way to do this (it's easy in PERL) but I havn't had any luck finding the answer or an example. Does anybody out there know how this is done?

Thanks in advance,

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!