HomeBreadcrumb ArrowModulesBreadcrumb ArrowOpenCartBreadcrumb ArrowAbandonedCartsBreadcrumb ArrowModify mail head
New Discussion

Modify mail head

User Image
Abr member
#1 posted on 23/1/15

Hello.

How to change the 'mailfrom' ? now there is mail of my store, i need to set the name of the store.

0
User Image
Teya Veselinova member
#2 posted on 27/3/15

Hello Abr,

The Abandoned Carts module sends the e-mail from the default e-mail and name of your store set from System=>Settings=>Store=>General=> StoreName and Email. 

Currently, the module doesn't have the option to change these settings if you don't change your default ones. An alternative way would be to hardcode the changes in the code of the module. In order to do this you'll need to locate the following two files: admin/model/abandonedcarts.php and catalog/model/abandonedcarts.php, find the following two lines:

        $mailToUser->setFrom($this->config->get('config_email'));          $mailToUser->setSender($this->config->get('config_name'));

and replace the value in the brackets: $this->config->get('config_email') with the e-mail you would like to use, written in quotes '' and  $this->config->get('config_name') with the name you would like to use again written in quotes. This is an example of how it's supposed to look:

        $mailToUser->setFrom('example@isenselabs.com');          $mailToUser->setSender('Example');

You will need to do the same changes in the two files and make sure that they are saved and uploaded to the server. However, you need to remember that when you change these settings, all of the abonded carts e-mails will be sent with these e-mail and name.

I hope this helps!

0