View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004238 | OXID eShop (all versions) | 1.04. Content, static (register, contact etc.) pages | public | 2012-07-11 10:49 | 2012-11-19 10:47 |
Reporter | imd | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.11 revision 46050 | ||||
Target Version | 4.6.6 revision 54646 | Fixed in Version | 4.6.6 revision 54646 | ||
Summary | 0004238: Incorrect email sender in contact Form | ||||
Description | The contact email will be sent to the administrator with the e-mail address of the customer. Not with the e-mail address of the shop. Should be: 1. it should look like: order contact email is sent FROM shop owner TO shop administrator. 2. And when FROM - looks like Shop owner's email, the Reply-To should be customer's email. | ||||
Additional Information | Same like: 0001964: Incorrect email sender in order confirmation https://bugs.oxid-esales.com/view.php?id=1964 | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0001964 | resolved | saulius.stasiukaitis | Incorrect email sender in order confirmation |
|
/** * Sets mailer additional settings and sends contact info mail to user. * Returns true on success. * * @param string $sEmailAddress Email address * @param string $sSubject Email subject * @param string $sMessage Email message text * * @return bool */ public function sendContactMail( $sEmailAddress = null, $sSubject = null, $sMessage = null ) { // shop info $oShop = $this->_getShop(); //set mail params (from, fromName, smtp) $this->_setMailParams( $oShop ); $this->setBody( $sMessage ); $this->setSubject( $sSubject ); $this->setRecipient( $oShop->oxshops__oxinfoemail->value, "" ); $this->setFrom( $sEmailAddress, "" ); $this->setReplyTo( $sEmailAddress, "" ); return $this->send(); } Change: $this->setFrom( $sEmailAddress, "" ); To: $this->setFrom( $oShop->oxshops__oxorderemail->value, "" ); |
|
Doesn't care anybody??? |