This plugin uses concepts from Play20StartApp to make sending emails (text, html, mixed) easier. A sample is included.
play-easymail currently needs Play! Framework 2.x
- The
master
branch contains the code for Play! Framework 2.3.x (play-easymail version0.6.0
and up). - The
2.2.x
branch contains the code for 2.2.x (play-easymail version0.5 - 0.5.x
). - The
2.1.x
branch contains the code for 2.1.x (play-easymail version0.2 - 0.3.x
). - The
2.0.x
is a maintenance branch for the 2.0.x series of Play! Framework (play-easymail version0.1
).
Sending email through an easy-to-use API and allowing for text-only, html-only and mixed emails. Preferably based on Play! templates (see sample).
Mailer.getDefaultMailer().sendMail(
"Your subject",
"Your text body",
"recipient@email.com"
);
You can also have a look at the sample for a more advanced use-case (content from templates and setting custom headers).
- 0.6.3 [2014-07-05]
- Added
setReplyTo
method (thanks @cornelcroi)
- Added
- 0.6.2 [2014-06-30]
- Fix
addCustomHeader
method - Add
sendMail
convenience method for text-only mails - Add to sample: show advanced Mail example (add Reply-To header)
- Fix
- 0.6.1 [2014-06-29]
- Add Scala 2.10.x binary to repository
- Test against Scala 2.10.x
- ATTENTION: Binaries are not published in ivy style any more, please update your resolver URLs (see #189)
- 0.6.0 [2014-06-10]
- Version for Play 2.3.x
- 0.5.2 [2014-07-05]
- Added
setReplyTo
method (thanks @cornelcroi) - Last version for Play 2.2.x
- Added
- 0.5.1 [2014-07-01]
- Backport fix for
addCustomHeader
method
- Backport fix for
- 0.5 [2013-10-23]
- First version for Play 2.2.x
- 0.3 [2013-09-01]
- A mail can now have custom headers (see issue #6) - thanks @jtammen
- 0.2 [2013-02-06]
- Version for 2.1.0
- 0.1 [2012-07-09]
- Initial release
Copyright (c) 2012-2014 Joscha Feth
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.