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: tomc...@servername.domain.com [mailto:tomc...@servername.domain.com] Is there a way to change it to: From: mai...@differentdomain.com [mailto:mai...@differentdomain.com]