Schumann Ye commented on OFBIZ-10844:

If you tested it with your personal email address (for example, you have filled 
in a...@example.com), the service will call the Java Email to send email as 

From: [a...@example.com|mailto:a...@example.com]    (the email provided by 
anonymous user)

To:   [a...@example.com|mailto:a...@example.com]     (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:


To:   [a...@example.com|mailto:a...@example.com]


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="yourmailaddr...@example.com"/>
> While the email "yourmailaddr...@example.com" should have been properly set 
> up in your system.
> It works for me!

This message was sent by Atlassian JIRA

Reply via email to