Skip to content

Email Integration

Integration for sending text and HTML mails with attachments.

Modules

The modules follow the default naming convention.

Usage

xml
<dependencies>
    <dependency>
        <groupId>de.muenchen.refarch</groupId>
        <artifactId>refarch-email-integration-starter</artifactId>
        <version>...</version>
    </dependency>
</dependencies>

Configuration

refarch-email-integration-starter

PropertyDescriptionExample
spring.mail.hostHost of smtp server used for sending mails.mail.example.com
spring.mail.portHost of smtp server used for sending mails.1025
spring.mail.usernameUsername of smtp server.
spring.mail.passwordPassword of smtp server.
refarch.mail.from-addressDefault from address used when sending mails.test@example.com
refarch.mail.default-reply-to-addressDefault reply to address used when sending mails.no_reply@example.com