sofree Posted September 24, 2014 Share Posted September 24, 2014 Related to this topic: http://www.prestashop.com/forums/topic/271002-solved-help-to-remove-email-logo-attach-in-ps-1531/ If you want deliver messages to your customers without your logo as attachment, but as a link (size of every email smaller in this case): Change file: classes/Mail.php around line 270 if ((Context::getContext()->link instanceof Link) === false) Context::getContext()->link = new Link(); /* don't attach the logo as */ if (isset($logo)) //$template_vars['{shop_logo}'] = $message->attach(new Swift_Message_EmbeddedFile(new Swift_File($logo), null, ImageManager::getMimeTypeByExtension($logo))); $template_vars['{shop_logo}'] = Context::getContext()->link->getMediaLink(_PS_IMG_.Configuration::get('PS_LOGO_MAIL', null, null, $id_shop)); I think it's clear... Link to comment Share on other sites More sharing options...
Recommended Posts