Fórum
send email form
adil yamouni, modificado 8 Anos atrás.
send email form
New Member Postagens: 6 Data de Entrada: 28/11/15 Postagens Recentes
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 8 Anos atrás.
RE: send email form
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
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 8 Anos atrás.
RE: send email form
New Member Postagens: 6 Data de Entrada: 28/11/15 Postagens Recentes
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 8 Anos atrás.
RE: send email form
Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
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