CamelMailSender is a Spring Boot-based application that leverages Apache Camel to facilitate email sending capabilities. It integrates Camel components for mail and file handling, enabling efficient processing and dispatching of emails.
- Built with Spring Boot for easy configuration and deployment
- Utilizes Apache Camel for routing and integration
- Supports sending emails via Camel Mail component
- Handles file operations, allowing attachment or content processing
- Embedded web support for potential API extensions
- Java 17
- Spring Boot 3.5.0
- Apache Camel 4.12.0 (including mail and file components)
- Spring Boot Mail Starter
- Java 17 or later installed
- Maven installed for build management
- An SMTP server for sending emails (credentials required)
Clone the repository and run the following command to build the application:
mvn clean installExecute the application with:
mvn spring-boot:runConfigure mail server properties in application.properties or application.yml to enable email functionalities. Typical properties include:
spring.mail.hostspring.mail.portspring.mail.usernamespring.mail.passwordspring.mail.properties.mail.smtp.authspring.mail.properties.mail.smtp.starttls.enable