Jump to content
Changes to the Jaspersoft community edition download ×

JasperReports Scheduler not sending emails using Office365


cruisebright

Recommended Posts

Hi

Could someone please suggest on how to debug the below problem ? It is not logging anything in the log files. (Ubuntu OS)

I'm unable to send emails using the report scheduler.

Below are the last lines in js.quartz.properties

report.scheduler.mail.sender.host=smtp.office365.com
report.scheduler.mail.sender.username=username@domain
report.scheduler.mail.sender.password=password
report.scheduler.mail.sender.from=username@domain
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25
Below are the lines from 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.smtp.sendpartial">true</prop>
                <prop key="mail.smtp.auth">true</prop>
                <prop key="mail.smtp.starttls.enable">true</prop>
                <prop key="mail.smtp.starttls.required">true</prop>
            </props>
        </property>
    </bean>
 
 
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...