Jump to content
Changes to the Jaspersoft community edition download ×

js.quartz.properties and applicationContext-report-scheduling configuration to use gmail


christian.lach.91

Recommended Posts

Hello,

I js.quartz.properties and applicationContext-report-scheduling configured but can not receive mail

here's what I did:

jasperreports-server-cp-6.01\apache-tomcat\webapps\jasperserver-pro\WEB-INF\js.quartz.properties

report.scheduler.mail.sender.host=smtp.gmail.com

report.scheduler.mail.sender.username=username@gmail.com

report.scheduler.mail.sender.password=SECRET

report.scheduler.mail.sender.from=username@gmail.com

report.scheduler.mail.sender.protocol=smtps

report.scheduler.mail.sender.port=465

jasperreports-server-cp-6.01\apache-tomcat\webapps\jasperserver-pro\WEB-INF\applicationContext-report-scheduling.xml

<bean id="reportSchedulerMailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
        <property name="host" value="${report.scheduler.mail.sender.host}"/>
        <property name="username" value="${report.scheduler.mail.sender.username}"/>
        <property name="password" value="${report.scheduler.mail.sender.password}"/>
        <property name="protocol" value="${report.scheduler.mail.sender.protocol}"/>
        <property name="port" value="${report.scheduler.mail.sender.port}"/>
        <property name="javaMailProperties">
            <props>
                <prop key="mail.smtps.auth">true</prop>
                <prop key="mail.smtps.starttls.enable">true</prop>

            </props>
        </property>
    </bean>

Thank you

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...