huytmb / mail-receiver

Mail Receiver - Using Spring Boot with Spring Integration
28 stars 17 forks source link
imap spring-boot spring-integration spring-mail springframework

Mail Receiver - Using Spring Boot with Spring Integration

Description

This project demonstrates how to periodically read emails from mail server (support IMAP) and process them.

Development

To start your application in the dev profile, run:

./mvnw

Configuration

application.yml

mail:
  imap:
    ssl: true
    host: imap.gmail.com
    port: 993
    username: your-email%40gmail.com
    password: your-password

Reference Documentation

For further reference, please consider the following sections: