Hello PHP-developers out there,

I am a Dutch php developer for quite some years now, but I came accross a problem now which really puts some question marks above my head..

I have a CMS with a newsletter-module. The administrator can send an e-mail to all the subscribers from the newsletter. Now here's the actual problem:

When the administrator submits the newsletter he gets a preview first (everything looks good) then he pushes the send button and the newsletters go out to the subscribers. Everybody gets them nicely in their mailbox BUT then when reading through the mail, the mail has randomly a exclamation mark-space in the text!! "! ".. just like that it stands there.. not where it is supposed to be. Usually it happens only 2 or 3 times per newsletter, but it's annoying!

Does anybody know about this problem? Or has any answers where I could look for an explanation..

    can we see the code?
    The code that is used to preivew the news, script that sends the mail, and the script that he uses to enter the news.

      Thanks for posting that! I am not using Simplenews, but have the exact same problem.. unfortunately they don't provide a solution. It does give me a lead though..

      If someone knows anything.. please let me know, thanks!

        Long lines of HTML code
        We have identified errors occurring in Outlook where the HTML message contains a long line of code of
        over 512 characters without a line break. Typical errors that occur are exclamation marks appearing in the
        HTML at 512 characters on the line. To avoid this simply break up the HTML code onto separate lines so
        that all systems can parse it.

        From this example you can see a random exclamation mark appear. The
        line of HTML code being too long causes this.

        now THAT is interesting.. let's hope it works 🙂

          Write a Reply...