We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d17afad commit 143e5c4Copy full SHA for 143e5c4
mailer/README.md
@@ -21,7 +21,7 @@ smtp.password (optional)
21
22
```java
23
import com.typesafe.plugin.*;
24
-MailerPlugin mail = play.api.Play.unsafeApplication().plugin(MailerPlugin.class);
+MailerPlugin mail = play.Play.application().plugin(MailerPlugin.class);
25
mail.setSubject("mailer");
26
mail.addRecipient("my@email.com","toaddress");
27
mail.addFrom("Peter Hausel <noreply@email.com>");
0 commit comments