Jump to content
We've recently updated our Privacy Statement, available here ×

Set from email for schedule reports


joseng62

Recommended Posts

I set a schedule to -email reports weekly. This is working fine. 
Emailing works fine.
I want to display another from e-mail address instead of the email user account. 

Here is my settings: 
Working on JasperServer 6.2.1 
 

apache-tomcatwebappsjasperserver-proWEB-INF
 
- applicationContext-report-scheduling.xml
        <property name="javaMailProperties">
<props>
<prop key="mail.smtp.auth">true</prop>
<prop key="mail.smtp.starttls.enable">true</prop>
</props>
 
- js.quartz.properties    ( I am using dummy data in this question )
report.scheduler.mail.sender.host=smtp.gmail.com
report.scheduler.mail.sender.username=Ben.Blue@demo.com
report.scheduler.mail.sender.password=abc123
report.scheduler.mail.sender.from=do_not_reply@demo.com
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=587
 
So the user receive the mail, but the from address displays "Ben.Blue@demo.com" instead of "do_not_reply@demo.com"

Any suggestion or advice is welcome. 

Thank you
 
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...