Skip to content

Commit 12b4cd0

Browse files
committed
Updated readme.
1 parent 95bda81 commit 12b4cd0

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The Grails Asynchronous Mail plugin
22
====================================
33

4-
[![Build Status](https://travis-ci.org/kefirfromperm/grails-asynchronous-mail.svg?branch=master)](https://travis-ci.org/kefirfromperm/grails-asynchronous-mail) [![Download](https://api.bintray.com/packages/kefirsf/plugins/asynchronous-mail/images/download.svg) ](https://bintray.com/kefirsf/plugins/asynchronous-mail/_latestVersion) [![OpenHUB](https://openhub.net/p/grails-asynchronous-mail/widgets/project_thin_badge?format=gif)](https://openhub.net/p/grails-asynchronous-mail)
4+
[![Build Status](https://travis-ci.org/kefirfromperm/grails-asynchronous-mail.svg?branch=master)](https://travis-ci.org/kefirfromperm/grails-asynchronous-mail) [![OpenHUB](https://openhub.net/p/grails-asynchronous-mail/widgets/project_thin_badge?format=gif)](https://openhub.net/p/grails-asynchronous-mail)
55

66
Description
77
-----------
@@ -11,7 +11,7 @@ database with Grails domain classes and sends them by a scheduled Quartz job. Ma
1111
the `sendAsynchronousMail` (or `sendMail`) method returning instantly, is not waiting for the mail to be actually sent. If
1212
the SMTP server isn't available, or other errors occur, the plugin can be set to retry later.
1313

14-
The plugin depends on the [quartz](https://grails.org/plugins.html#plugin/quartz) and the [mail](https://grails.org/plugins.html#plugin/mail) plugins. You also need a persistence provider plugin, [hibernate5](https://plugins.grails.org/plugin/grails/hibernate5) and [mongodb](https://plugins.grails.org/plugin/grails/mongodb) are supported.
14+
The plugin depends on the [quartz](https://grails.org/plugins.html#plugin/quartz) and the [mail](https://grails.org/plugins.html#plugin/mail) plugins. You also need a persistence provider plugin, [hibernate5](https://plugins.grails.org/plugin/grails/hibernate5) (or the appropriate version of hibernate for previous grails versions) and [mongodb](https://plugins.grails.org/plugin/grails/mongodb) are supported.
1515

1616
Links
1717
-----
@@ -25,7 +25,14 @@ Links
2525
Installation
2626
------------
2727

28-
To install just add the plugin to the plugins block of `build.gradle`. For Grails 4.0.x
28+
To install just add the plugin to the plugins block of `build.gradle`:
29+
30+
For Grails 5.x.x
31+
```groovy
32+
implementation "org.grails.plugins:asynchronous-mail:3.1.0"
33+
```
34+
35+
For grails 4.0.x
2936
```groovy
3037
compile "org.grails.plugins:asynchronous-mail:3.0.0"
3138
```
@@ -60,7 +67,7 @@ asynchronous.mail.newSessionOnImmediateSend=false
6067
asynchronous.mail.taskPoolSize=1
6168
```
6269

63-
If you want to change this options just add options which you want to change to your configuration file `/grails-app/conf/application.groovy`.
70+
If you want to change this options just add options which you want to change to your configuration file `/grails-app/conf/application.groovy` or `/grails-app/conf/application.yml`.
6471

6572
|Option|Default|Description|
6673
|------|-------|-----------|

0 commit comments

Comments
 (0)