ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schumann Ye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10844) Ecommerce AnonContactus.ftl doesn't work
Date Thu, 14 Mar 2019 00:09:00 GMT

    [ 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 abc@example.com),
the service will call the Java Email to send email as follows:

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

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


However, in the real life production environment, when an anonymous user fills in their email
address, it is most likely as follows:

From:      [arandomaddress@a3partydomain.com|mailto:arandomaddress@a3partydomain.com]

To:   [abc@example.com|mailto:abc@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="yourmailaddress@example.com"/>
> While the email "yourmailaddress@example.com" should have been properly set up in your
> It works for me!

This message was sent by Atlassian JIRA

View raw message