Run:
- Build:
./mvnw -q -DskipTests package - Start:
./mvnw spring-boot:run - UI: open
http://localhost:8080/for configuration and bulk send
APIs (base /api):
- POST
/sendBulk{ recipients: string[], subject: string, body: string } - POST
/configSMTP config - GET
/configcurrent config (no password)
Build image:
docker build -t cold-email:latest .Run container:
docker run -p 8080:8080 --name cold-email cold-email:latestOpen http://localhost:8080/ to configure SMTP and send emails.
Pass JVM options (optional):
docker run -e JAVA_OPTS="-Xms256m -Xmx512m" -p 8080:8080 cold-email:latest