Foros de discusión
Liferay 7 - web form email address exception
Ulrich Kohlhase, modificado hace 7 años.
Liferay 7 - web form email address exception
New Member Mensaje: 1 Fecha de incorporación: 29/01/14 Mensajes recientes
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 hace 6 años.
RE: Liferay 7 - web form email address exception
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
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.