I am very new to Spring batch. I have a requirement to send mail from my application after processing some records. Went through many links. But i did not find anything useful. Can somebody help me?
相关问题
- Spring Batch - late binding of commit interval not
- JobLauncherTestUtils throws NoUniqueBeanDefinition
- How to add sender name before sender address in py
- Android: Using Intent to send email - only offerin
- Verify if an email address exists or not
相关文章
- How do I make a forward e-mail link?
- com.sun.mail.smtp.SMTPSenderFailedException: 550 5
- Debug HTML Email in Gmail App
- Sending email using php, gmail, and swiftmailer ca
- Android - getting an error “no application can per
- facebook send API Error Code: 100 API Error Descri
- How can the Return-Path header be different than t
- Regex Email - Ignore leading and trailing spaces?
Hi You can try below code, I am using this javax code in my project and working cool..
You need to implement a
JobExecutionListener
and add it to your job in the following manner:Here
EmailNotification
implementsJobExecutionListener
and send the email in theafterJob()
method; you can use any method you like to send emails depending on your needs.