Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main
.gitignore
Dockerfile
README.md
create-mail-session.asadmin
docker-compose.yml
pom.xml

README.md

Codebase for the blog post #HOWTO: Send emails with Java EE using Payara

Steps to run this project:

  1. Clone this Git repository
  2. Navigate to the folder java-ee-sending-mails
  3. Replace the targeted email in src/main/resources/META-INF/microprofile-config.properties with yours
  4. Build the project with mvn clean package
  5. Start your Docker daemon (docker-compose required)
  6. Run docker-compuse build && docker-compose up
  7. Visit http://localhost:8080/resources/mails to send a sample email to your address (the incoming email might be blocked by your email provider or marked as spam)
You can’t perform that action at this time.