HTML newsletters November 23, 2018, 03:28:03 am I don't use often this feaure, I usually send 1 html newsletter / year. I did create an html template using mailchimp template creator, this was back in 2014-2015 and I edited some text, images and links to send my last newsletter. I did test it using my hotmail account and the newsletter was displayed correctly, then I sent it. I use an smtp account from sparkpost to send newsletters.The problem is that on gmail I receive it as html text. Other members complained they received the html text mainly from gmail accounts but also from some italians providers like libero.itI sent the same newsletter a couple of times to my gmail account and the same result: all html code as text. I did the same test using elkarte 1.0.10 and the newsletter was sent correctly on my gmail account.I am wondering if something changed from elkarte 1.0 to 1.1?the content of the newletter skodaclub.it/skoda/newsletter/003/index.htmlan this is how it was received - on gmail https://screenshots.firefox.com/MyAOVBOOKapiyjvp/mail.google.com- on hotmail https://screenshots.firefox.com/ZY0lYFFmdrGM4gvo/outlook.live.com
Re: HTML newsletters Reply #1 – November 23, 2018, 04:38:25 am I've send a newsletter in HTML with my Elk 1.1.5 and this is what I get in my GMail. Looks correct and different then yours.
Re: HTML newsletters Reply #2 – November 23, 2018, 10:02:41 pm I'm assuming you simply cut and paste all of that HTML into the newsletter textbox and then send it ? Could you attach the raw email that gmail received so I can look at it? You should be able to see it in Gmail, view raw message or something to that effect.Emails will always have a plain text section then (if the checkbox is selected) an html section ... and then another encoded section should you use "special" (almost any utf-8) characters (encoded in base64 or quoted printable). Assuming the email is proper the client should choose the most accurate representation of the email with the fallback being the plain text which is what you are showing.If it works fine on 1.0 and not on 1.1 .... I'd blame @emanuele even if its likely something I did
Re: HTML newsletters Reply #3 – November 24, 2018, 04:18:16 am Quote from: Spuds – November 23, 2018, 10:02:41 pmI'm assuming you simply cut and paste all of that HTML into the newsletter textbox and then send it ? Thanks for answering, and yes, this is what I did.I attach both original messages from elkarte 1.1 and 1.0
Re: HTML newsletters Reply #5 – November 24, 2018, 09:50:18 pm Indeed things have changed in 1.1, I'll have to do some digging around to see where that error is.In 1.0 there are (3) versions in the email, plain ascii text, utf-8 text encoded as base64, and utf-8 html encoded as base64In 1.1 there are only (2) versions, plain ascii text and utf-8 encoded as base64 ... the html version is not present BUT the plain text is the full html document (it was not stripped of tags as was done in 1.0)So .... some digging around is neededETA:::You are using SMTP for your emails ?
Re: HTML newsletters Reply #6 – November 25, 2018, 08:00:23 am Quote from: Spuds – November 24, 2018, 09:50:18 pmETA:::You are using SMTP for your emails ? Yes I use an smtp account provided by sparkpost.com (I was lucky to register when free plan included 100.000 mails /month)
Re: HTML newsletters Reply #7 – December 11, 2018, 08:25:36 pm Please test this version of the ManageNews.controller.php and see if it fixes the issue for you. Its only for v1.1.x of course.
Re: HTML newsletters Reply #8 – December 12, 2018, 03:00:34 am Thank you Spuds, I did a test on gmail and newsletter is displayed correctly.
Re: HTML newsletters Reply #9 – March 27, 2019, 10:07:27 am I don't think this one is tracked yet for 1.1.6.
Re: HTML newsletters Reply #10 – April 02, 2019, 11:29:37 am This one was fixed for 1.1.6 ... https://github.com/elkarte/Elkarte/issues/3266