Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 613 Bytes

File metadata and controls

21 lines (14 loc) · 613 Bytes

playframeworkEmailSender

Project shows how to send email messages with Apache Common Email and Playframework 2

Configuration

File conf/application.conf contains additional properties related to email server (in this example gmail server)

email.hostname=smtp.googlemail.com
email.smtpport=465
email.username=user
email.password=password
email.sslonconnect=true

Types of email messages

sendMail method is able to send simple message with plain text, simple message with plain text and attachments, html messages with and without attachments.