Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2479

META Tags added to HTML HEAD in Seam HTML mail get removed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.0.GA
    • Fix Version/s: 2.1.0.CR1
    • Component/s: Mail
    • Labels:
      None
    • Environment:

      Windows, Outlook,

      Description

      the META tags added to HTML Head tag when sending Seam email in HTML get removed from the generated HTML. absence of META tags and not being able to add one causes issues in applications like outlook.

      <m:message>
      <m:from name="TISC Online" address="info@tisc.edu.au" />
      <m:to name="#

      {subscriptionAdmin.recipient[0]}

      ">#

      {subscriptionAdmin.recipient[1]}

      </m:to>
      <m:subject>#

      {subscriptionAdmin.subscriptionConfig.massMailSubject}

      </m:subject>
      <m:body>
      <html>
      <head>
      <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"/>
      </head>
      <body>
      <h:outputText value="#

      {subscriptionAdmin.massMailMessageInterpolated}

      " escape="false"/>
      </body>
      </html>
      </m:body>
      </m:message>

      come out like:

      <html>
      <head>
      </head>
      <body>
      ...
      body contents
      ...

      </body>
      <html>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                terryb terryb
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: