tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Weddell <bwedd...@sbcglobal.net>
Subject Customize "from" and "to" address for emails that come from tomcat
Date Fri, 24 Aug 2012 17:34:40 GMT
I'm using mail.jar and activation-1.1.jar.

I am able to successfully send mail from Tomcat.

However the emails come from the user running tomcat and the FQDN of the local 
host.

Is there a way to mask this?

For example, instead of:
From: tomcat7@servername.domain.com
[mailto:tomcat7@servername.domain.com]

Is there a way to change it to:
From: mailer@differentdomain.com
[mailto:mailer@differentdomain.com]  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message