10928 Posts in 2612 Topics by 1809 members
|Go to End|
17 July 2009 at 10:59am Last edited: 17 July 2009 11:00am
My newsletter sends blank emails to MS Outlook. They appear correctly in other clients, such as gmail. My only guess is that it has something to do with how Outlook handles html email.
Anybody know a fix? Any guesses? Is the html that the newsletter module sends poorly formed or something?
17 July 2009 at 6:38pm
Are you using a custom email template or just the one that comes with SilverStripe (that's a really basic one)?
You should probably create your own template for your newsletter and make sure you use outlook compatible markup there. Here's a good website that lists compatible css styles and has other valuable information about email templates (not SilverStripe specific): http://www.campaignmonitor.com/resources/
17 July 2009 at 6:59pm
Hey, thanks for your ideas! I'm using a custom template. But, even if the CSS markup was invalid, wouldn't at least some sort of text show up in the email? It's totally blank in Outlook, but there are actually paragraphs of text in the email body. Would faulty CSS cause that?
and that is an awesome site. Definitely adding it to my bookmarks. Thx!
3 May 2010 at 10:07am
Yes, I'm having the same problem.
In my case, it happens when the template links to an external image (like a logo on a website) <img src=... />
If I remove the image, Outlook displays the entire template without any formatting, as in...
This is a multi-part message in MIME format.------=_NextPart_986513Content-Type: text/plain; charset="utf-8"Content-Transfer-Encoding: quoted-printableMain ExperienceKeeping Upper Hutt Informed Dear ,this is a test to see what happens. Have removed logo.------=_NextPart_986513Content-Type: text/html; charset="utf-8"Content-Transfer-Encoding: quoted-printable<html><!-- template C:/xampplite/htdocs/EUHNL/mysite/templates/email/EUHDraft.ss --><head></head><body><div id=3D"Container">=09<div id=3D"Header">=09=09<div id=3D"NLTitle" style=3D"width:400px;border:1px solid #000;">=09=09=09<h1>Main Experience<h1/>=09=09=09<h2>Keeping Upper Hutt Informed</h2>=09=09</div>=09=09<div class=3D"Clear"></div>=09</div>=09<div class=3D"body">=09=09<p>Dear ,</p>=09=09<p>this is a test to see what happens. Have removed logo.</p>=09</div></div></body></html><!-- end template C:/xampplite/htdocs/EUHNL/mysite/templates/email/EUHDraft.ss -->------=_NextPart_986513
If I send the same email to a Yahoo! account, the body is completely empty, no matter what I do.
Anyone else have this problem?
4 May 2010 at 8:34pm Last edited: 4 May 2010 8:35pm
I think that *part* of the problem was that I was trying to send emails from my localhost on my own PC.
Or it could have been the settings in my local php.ini. But the moral of the story is that when I tried running the newsletter from an actual online site, things worked a lot better.
I still have a couple of probs, but at least the emails are getting through and are readable.
I wish, though, that there'd been some mention of this in the readme.
|Go to Top|