View Issue Details

IDProjectCategoryView StatusLast Update
0004238OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2012-11-19 10:47
Reporterimd Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.11 revision 46050 
Target Version4.6.6 revision 54646Fixed in Version4.6.6 revision 54646 
Summary0004238: Incorrect email sender in contact Form
DescriptionThe 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 InformationSame like: 0001964: Incorrect email sender in order confirmation

https://bugs.oxid-esales.com/view.php?id=1964
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0001964 resolvedsaulius.stasiukaitis Incorrect email sender in order confirmation 

Activities

imd

2012-07-11 17:34

reporter   ~0007074

/**
     * 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, "" );

imd

2012-08-06 17:55

reporter   ~0007239

Doesn't care anybody???