Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2133

Email: If html is provided, but no text version, convert from html

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.0.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Throughout the system we ask for HTML and Text versions for emails. Primarily through email templates, however, it is possible to send email directly to a client using the Email feature on their client profile page, and as of 4.0 via the Mass Mailer plugin.

      At least in the case of sending a direct email to a client, no text version has to be entered and an email can be sent with an HTML only version. In mail clients that choose not to render HTML, these would appear as blank emails.

      Instead, what we should do is automatically generate the text version if it does not exist at the time the message is sent. This would at minimum involve stripping tags and converting breaks to new lines. There may be some build in method to accomplish this already, but I'm not aware of it.

        Issue Links

          Activity

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              admin Paul Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Sep/16