Skip to content

This repository is an example for polling E-mails from gmail using Spring boot mail support

Notifications You must be signed in to change notification settings

mohitsinha/spring-boot-mail-poller-attachments-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-mail poller gmail using Spring boot mail support

Spring Boot + Spring Mail Integration

###Description This project demonstrates how to periodically read emails from gmail and process them. This project can be used with any other email provider also.

###How to Open

./gradlew idea
IntelliJ -> Open -> .ipr

###Configuration

  application.properties
- file.download.location=change to location where attachments will be downloaded
- mail.folder.name= mail folder

  resources/hello/integration.xml
- correctly configure store-uri="imaps://username:[email protected]/INBOX"

- Give write access to current user for /var/log/email-poller for creating logs

###How to Run

- ./gradlew bootRun
- Run main() on Application Class

About

This repository is an example for polling E-mails from gmail using Spring boot mail support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published