Foren
send email form
adil yamouni, geändert vor 8 Jahren.
send email form
New Member Beiträge: 6 Beitrittsdatum: 28.11.15 Neueste Beiträge
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, geändert vor 8 Jahren.
RE: send email form
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 8 Jahren.
RE: send email form
New Member Beiträge: 6 Beitrittsdatum: 28.11.15 Neueste Beiträge
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, geändert vor 8 Jahren.
RE: send email form
Expert Beiträge: 493 Beitrittsdatum: 26.05.12 Neueste Beiträge
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