You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (JIRA)" <ji...@apache.org> on 2019/04/16 12:39:00 UTC
[jira] [Commented] (OFBIZ-10844) Ecommerce AnonContactus.ftl
doesn't work
[ https://issues.apache.org/jira/browse/OFBIZ-10844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818966#comment-16818966 ]
Pawan Verma commented on OFBIZ-10844:
-------------------------------------
As per my understanding, sendFrom email cannot be the customer's email address.
Email settings for this email are maintained at ProductStoreEmailSetting with CONT_NOTI_EMAIL as emailType and like other notifications, we should use ProductStoreEmailSetting.fromAddress to send this email which is configurable.
I have attached a patch for this change, please have a look and let me know your thoughts on this. Thanks!
> 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 system.
> It works for me!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)