Fórum
Liferay 7 - web form email address exception
Ulrich Kohlhase, modificado 6 Anos atrás.
Liferay 7 - web form email address exception
New Member Mensagem: 1 Data de Entrada: 29/01/14 Postagens Recentes
HI,
Is anyone else experiencing an issue with the Liferay 7.0 web form portlet (GA3, also tested with Github liferay-portal master).
When configuring to send as email , entering valid form entries and sending the form, the following exception is thrown:
javax.mail.internet.AddressException: Illegal route-addr in string ``${server-property://com.liferay.portal/admin.email.from.address}''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:883)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:819)
at javax.mail.internet.InternetAddress.parseHeader(InternetAddress.java:580)
at javax.mail.internet.MimeMessage.getAddressHeader(MimeMessage.java:680)
at javax.mail.internet.MimeMessage.getFrom(MimeMessage.java:340)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:897)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at com.liferay.util.mail.MailEngine._send(MailEngine.java:624)
at com.liferay.util.mail.MailEngine.send(MailEngine.java:382)
...
Is anyone else experiencing an issue with the Liferay 7.0 web form portlet (GA3, also tested with Github liferay-portal master).
When configuring to send as email , entering valid form entries and sending the form, the following exception is thrown:
javax.mail.internet.AddressException: Illegal route-addr in string ``${server-property://com.liferay.portal/admin.email.from.address}''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:883)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:819)
at javax.mail.internet.InternetAddress.parseHeader(InternetAddress.java:580)
at javax.mail.internet.MimeMessage.getAddressHeader(MimeMessage.java:680)
at javax.mail.internet.MimeMessage.getFrom(MimeMessage.java:340)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:897)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at com.liferay.util.mail.MailEngine._send(MailEngine.java:624)
at com.liferay.util.mail.MailEngine.send(MailEngine.java:382)
...
Tejas Kanani, modificado 6 Anos atrás.
RE: Liferay 7 - web form email address exception
Liferay Master Postagens: 654 Data de Entrada: 06/01/09 Postagens Recentes
I've had the same issue.
It seems like it's not picking the configuration you might have done from Web Form portlet configuration.
I'm able to make it work after setting configuration from Control Panel -> System Settings -> Other -> web.form.service.configuration.name ->
Hope this helps.
It seems like it's not picking the configuration you might have done from Web Form portlet configuration.
I'm able to make it work after setting configuration from Control Panel -> System Settings -> Other -> web.form.service.configuration.name ->
- Set value for -> Email from address
- Set value for -> Email from name
Hope this helps.