Foros de discusión
send email form
adil yamouni, modificado hace 8 años.
send email form
New Member Mensajes: 6 Fecha de incorporación: 28/11/15 Mensajes recientes
hello
I want to make a "Contact us" form in my website from where users can send me emails , i use the "MailServiceUtil " to send my emails.
I configured the SMTP settings for gmail server in my "portal-ext.properties" , when i submit my form i get the message mention that the action went on successfully but i don't get any email in my inbox
can anyone help me with this issue ?
I want to make a "Contact us" form in my website from where users can send me emails , i use the "MailServiceUtil " to send my emails.
I configured the SMTP settings for gmail server in my "portal-ext.properties" , when i submit my form i get the message mention that the action went on successfully but i don't get any email in my inbox
can anyone help me with this issue ?
David H Nebinger, modificado hace 8 años.
RE: send email form
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
It's reporting success putting the request into the queue for sending, that's all.
You'll have to check the logs to see why it didn't get out. And since you're dealing with google, you have to remember that gmail has a lot of spam filters, etc., that can block mail delivery.
You'll have to check the logs to see why it didn't get out. And since you're dealing with google, you have to remember that gmail has a lot of spam filters, etc., that can block mail delivery.
adil yamouni, modificado hace 8 años.
RE: send email form
New Member Mensajes: 6 Fecha de incorporación: 28/11/15 Mensajes recientes
Hello David
Thanks for your response .
In my log i get the following warning
22:10:32,361 WARN [http-bio-8080-exec-15][SecurityPortletContainerWrapper:630] Reject process action for http://localhost:8080/web/guest/home on sendmail_WAR_sendmailportlet
Thanks for your response .
In my log i get the following warning
22:10:32,361 WARN [http-bio-8080-exec-15][SecurityPortletContainerWrapper:630] Reject process action for http://localhost:8080/web/guest/home on sendmail_WAR_sendmailportlet
Manish Yadav, modificado hace 8 años.
RE: send email form
Expert Mensajes: 493 Fecha de incorporación: 26/05/12 Mensajes recientes
Try with below properties might be it will work for you
1) Add below property in liferay-portlet.xml of portlet
<add-default-resource>true</add-default-resource>
2 ) Portlet-ext.properties
portlet.add.default.resource.check.whitelist=<PORTLET ID>
portlet.add.default.resource.check.enabled=false
HTH
1) Add below property in liferay-portlet.xml of portlet
<add-default-resource>true</add-default-resource>
2 ) Portlet-ext.properties
portlet.add.default.resource.check.whitelist=<PORTLET ID>
portlet.add.default.resource.check.enabled=false
HTH