Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Help! Newsletter sends blank email to MS Outlook

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2105 Views
  • kennymcnett
    Avatar
    Community Member
    2 Posts

    Help! Newsletter sends blank email to MS Outlook Link to this post

    Help!

    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?

    Thank you!

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Help! Newsletter sends blank email to MS Outlook Link to this post

    Hi

    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/

  • kennymcnett
    Avatar
    Community Member
    2 Posts

    Re: Help! Newsletter sends blank email to MS Outlook Link to this post

    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!

  • _Vince
    Avatar
    Community Member
    158 Posts

    Re: Help! Newsletter sends blank email to MS Outlook Link to this post

    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?

  • _Vince
    Avatar
    Community Member
    158 Posts

    Re: Help! Newsletter sends blank email to MS Outlook Link to this post

    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.

    2105 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.