User1234567891 Posted August 26, 2010 Share Posted August 26, 2010 I am editing the email messages in the folders mails.works fine, just some coding in DW.Only there are two things i dont quit understand:1. I want to add a background image. I use the old fashioned background="" in the table, but it does not show (background-image:url..... does not work either)Of course i use absolute paths to the image on the server, this works fine for the logo (i need another logo in the emailing then in the shop) but not for the background image.2. This makes me come to the second issee. When I remove the logo tags from the email message in html, the logo is still added as an attachment to the message. How come? Where can remove this.I hope someone can help me out!Thanks! Link to comment Share on other sites More sharing options...
rocky Posted August 27, 2010 Share Posted August 27, 2010 1. I used background= to add a textured background image instead of a pink bar like this: Your account login details It worked for me, but I had to click to enable external content in my email client before the background would appear, so I decided not to do it.2. It is line 94 of classes/Mail.php that attaches the logo: $templateVars['{shop_logo}'] = (file_exists(_PS_IMG_DIR_.'logo.jpg')) ? $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo.jpg'))) : ''; Link to comment Share on other sites More sharing options...
User1234567891 Posted August 27, 2010 Author Share Posted August 27, 2010 Hey great!Happy to be able to change the logo now in the mail header, by editing line 94 in mail.phpThanks heaps Link to comment Share on other sites More sharing options...
fallenleader Posted August 29, 2010 Share Posted August 29, 2010 thanks for that line 94 tip.we were having issues with mail hitting junk thanks to the logo. now that is resolved. we should be hitting inbox with all major mail places now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now