[
https://issues.apache.org/jira/browse/OFBIZ-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792199#comment-16792199 ]
Schumann Ye commented on OFBIZ-10844:
-------------------------------------
If you tested it with your personal email address (for example, you have filled in
[hidden email]), the service will call the Java Email to send email as follows:
From: [
[hidden email]|mailto:
[hidden email]] (the email provided by anonymous user)
To: [
[hidden email]|mailto:
[hidden email]] (the receiving email address as maintained in the party “company”)
OFBiz could perform the service successfully because the host server settings with passwords has been maintained correctly in the file general.properties and also in the database table system_property.
However, in the real life production environment, when an anonymous user fills in their email address, it is most likely as follows:
From: [
[hidden email]|mailto:
[hidden email]]
To: [
[hidden email]|mailto:
[hidden email]]
In this case, the settings are not maintained properly for the a3partydomain in the file general.properties and also in the database table system_property.
So the services won’t perform correctly as desired.
> Ecommerce AnonContactus.ftl doesn't work
> ----------------------------------------
>
> Key: OFBIZ-10844
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10844> Project: OFBiz
> Issue Type: Bug
> Components: ecommerce
> Affects Versions: 16.11.04
> Environment: Win10 + OFBiz 16.11.04 + mysql.
> Reporter: Schumann Ye
> Assignee: Pawan Verma
> Priority: Minor
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Ecommerce "Contact Us" with anonymous login doesn't work after filling in email and all necessary info.
> The root cause is the simple method "sendContactUsEmailToCompany" within
> the file \applications\party\minilang\communication\CommunicationEventServices.xml has defined the field "sendFrom" as inputted email address from the anonymous users.
> To fix it, it should be changed as follows:
> <set field="emailParams.sendFrom" value="
[hidden email]"/>
> While the email "
[hidden email]" should have been properly set up in your system.
> It works for me!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)