I can't make the Mailer plugin to work. I'm getting a an error:
debug] application - [securesocial] calling deleteExpiredTokens()
[debug] application - [securesocial] mail = [(None,Some(
<html>
<body>
<p>Hello,</p>
<p>Please follow this
</p>
</body>
</html>))]
[error] a.d.TaskInvocation - Missing final '@domain'
org.apache.commons.mail.EmailException: Missing final '@domain'
at org.apache.commons.mail.Email.createInternetAddress(Email.java:605) ~[commons-email-1.2.jar:1.2]
at org.apache.commons.mail.Email.setFrom(Email.java:668) ~[commons-email-1.2.jar:1.2]
at org.apache.commons.mail.Email.setFrom(Email.java:651) ~[commons-email-1.2.jar:1.2]
at com.typesafe.plugin.CommonsMailer$$anonfun$send$3$$anonfun$apply$1.apply(MailerPlugin.scala:230) ~[play-plugins-mailer_2.10.jar:2.1.0]
at com.typesafe.plugin.CommonsMailer$$anonfun$send$3$$anonfun$apply$1.apply(MailerPlugin.scala:230) ~[play-plugins-mailer_2.10.jar:2.1.0]
Caused by: javax.mail.internet.AddressException: Missing final '@domain'
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:929) ~[mail-1.4.1.jar:1.4.1]
at javax.mail.internet.InternetAddress.validate(InternetAddress.java:870) ~[mail-1.4.1.jar:1.4.1]
at org.apache.commons.mail.Email.createInternetAddress(Email.java:601) ~[commons-email-1.2.jar:1.2]
at org.apache.commons.mail.Email.setFrom(Email.java:668) ~[commons-email-1.2.jar:1.2]
at org.apache.commons.mail.Email.setFrom(Email.java:651) ~[commons-email-1.2.jar:1.2]
at com.typesafe.plugin.CommonsMailer$$anonfun$send$3$$anonfun$apply$1.apply(MailerPlugin.scala:230) ~[play-plugins-mailer_2.10.jar:2.1.0]
[debug] application - [securesocial] calling deleteExpiredTokens()
#####################################################################################
#
# SecureSocial 2 Settings
#
#####################################################################################
smtp {
port=587
ssl=true
user="XXX"
password=xxxx
}
I'm probably missing some minor thing but I can't figure it out.