Hello,
I am trying to use Play Framework to send out email. In applications.conf, when I set smtp.mock=true , it works perfectly well:
However, when I comment smtp.mock=true and attempt to send real emails, I get this error:
[ERROR] [09/26/2013 03:46:05.014] [application-akka.actor.default-dispatcher-2] [TaskInvocation] From address required
org.apache.commons.mail.EmailException: From address required
Notes:
1. The emails used are real emails, and redacted above. Likewise, a real domain name is used
2. Tested with a working local mail server (exim), as well as directly sending through Gmail (
smtp.google.com) and Google Apps (
aspmx.l.google.com) servers. These settings have been verified using mail clients.