Skip to content

Simple boilerplate to send email in JAVA. This simple example uses some popular libs to send email like javax.email. Here, we are getting our attachments from the resource folder, but you can easily edit the code to get attachment from external URLs, for example. You need to pay attention in some environment variables to do the project run, glob…

Notifications You must be signed in to change notification settings

GabrielTavares99/email-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

email-sender

Simple boilerplate to send email in JAVA.

This simple example uses some popular libs to send email like javax.email. Here, we are getting our attachments from the resource folder, but you can easily edit the code to get attachment from external URLs, for example.

You need to pay attention in some environment variables to do the project run, global constants stay in the config folder. In addiction that, this example is using GMAIL as SMTP server, get the correct hostname and port to differents providers.

About

Simple boilerplate to send email in JAVA. This simple example uses some popular libs to send email like javax.email. Here, we are getting our attachments from the resource folder, but you can easily edit the code to get attachment from external URLs, for example. You need to pay attention in some environment variables to do the project run, glob…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published