Answers.Body: <p>Mosaico 2.x on CiviCRM already has the feature to add "preview text" for emails. </p>
  
  <p><a href="https://i.sstatic.net/evpuN.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/evpuN.gif" alt="Email preview text on CiviCRM Mosaico 2.0-beta4"></a></p>
  
  <p>This is handled in the default "versafix-1" template and any derivatives thereof by way of a hidden text field in the HTML.</p>
  
  <p>Your supplemental question regarding Emoji is more difficult - the Mosaico library can handle Emoji however CiviCRM's database storage engine doesn't use UTF8MB4 and isn't setup to handle Emoji content at this time. There is an issue <a href="https://lab.civicrm.org/dev/core/issues/339" rel="nofollow noreferrer">here</a> however getting this change into CiviCRM core (which is where it would need to occur) is not simple nor a priority at this time.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T17:43:27.303Z
Answers.Text: The problem with this is that if users have a mosaico template that they want to reuse, they have to go into the Mosaico editor to make the change, rather than creating a mailing based on that Mosaico template. It's also only a solution if one uses a Mosaico template. Sending out a "normal" message or system workflow message, doesn't have this option easily accessible to the user.
Answers.UserDisplayName: Phil Morice Brubaker
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T17:45:08.050Z
Answers.Text: That’s a valid point but it belongs on the Mosaico issue queue as a feature request. The current implementation is basically what comes in Mosaico - so there is currently no CiviCRM changes to that ‘bit’.
Answers.UserDisplayName: HomoTechsual
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T17:50:20.407Z
Answers.Text: But I'm interested in seeing it implemented outside of Mosaico, as not every communication requires the extra steps of Mosaico. Of course, the Mosaico template builder would need to coordinate with the basic mail editor in this regard.
Answers.UserDisplayName: Phil Morice Brubaker
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T17:50:57.857Z
Answers.Text: The Mosaico editor has nothing to do with the basic mail editor it is a replacement for it.
Answers.UserDisplayName: HomoTechsual
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T17:52:06.470Z
Answers.Text: @PhilMoriceBrubaker for the more basic communication it’ll depend on how you’re sending it for how best to implement this but the place to start would be the feature requests area on GitLab
Answers.UserDisplayName: HomoTechsual
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T18:05:13.113Z
Answers.Text: Maybe I don't understand how Mosaico is supposed to be used, but my experience of the workflow is: Create a template in Mosaico, Create a new mailing in CiviMail based on that Mosaico template, and then you are back in the basic mail editor to finalize your email but with the Mosaico subject and primary message dropped into the appropriate places. That's not so much a replacement but an augmentation, or a pre-formatter. Am I doing it wrong?
Answers.UserDisplayName: Phil Morice Brubaker
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T18:06:19.970Z
Answers.Text: Mosaico replaces the old ‘Civimail’ workflow for mass/scheduled mailings.
Answers.UserDisplayName: HomoTechsual
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-28T14:42:36.297Z
Answers.LastActivityDate: 2018-11-28T14:42:36.297Z
Answers.UserDisplayName: HomoTechsual
Answers.Body: <p>I recently wrote an extension to handle this: <a href="https://lab.civicrm.org/extensions/mailingpreviewtext" rel="nofollow noreferrer">https://lab.civicrm.org/extensions/mailingpreviewtext</a></p>
  <p><a href="https://i.sstatic.net/9LgG0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9LgG0.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-12-01T18:38:26.923Z
Answers.Text: Thank you! I'll check it out.
Answers.UserDisplayName: Phil Morice Brubaker
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-30T23:18:01.623Z
Answers.LastActivityDate: 2021-11-30T23:18:01.623Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>When sending a CiviMail message, users sometimes want to customize the preview text for email clients - which is good practice. (The preview text shows up under the Subject in many email clients.) Using the default mosaico pre-header, you end up with preview text of "Unsubscribe View in your browser...." [update: HomoTechsual notes that the Mosaico pre-header has a preview text option. But this has limitations as noted in the thread.]</p>
  
  <p>It seems there are two ways to edit the preview text in Civi:</p>
  
  <ol>
  <li>Creating a pre-header block with the text for the preview, but this will be visible in the text of the email, which often isn't ideal.</li>
  <li>Creating a <code>&lt;div style="display: none;"&gt;Preview text here&lt;/div&gt;</code> before any other text in the email. This is not user-friendly and is easily forgotten by users who have the knowledge of how to do it.</li>
  </ol>
  
  <p>Any other suggestions for handling this?</p>
  
  <p>Potential feature request: I'd love to see an non-required field for Preview Text under the subject field for every mailing. And (okay, this is a different, related feature) it would be great if a Preview Text field and Subject line could accommodate emojis (as described <a href="https://civicrm.stackexchange.com/questions/15872/has-anyone-used-emojis-in-civimail-subject-body">here</a>). If Civi doesn't add these abilities, I'm concerned it will fall behind in user expectations compared to other mass mailers.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-27T20:14:43.307Z
Comments.Text: Would be useful to log this as a feature request at https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-28T14:21:24.773Z
Comments.Text: Mosaico already has this feature.
Comments.UserDisplayName: HomoTechsual
Tags: <civimail><email><mosaico>
Title: How do folks handle email preview text?
ThreadText: # How do folks handle email preview text?
  
  (Asked by: username_0 on 2018-11-27)
  
  When sending a CiviMail message, users sometimes want to customize the preview text for email clients - which is good practice. (The preview text shows up under the Subject in many email clients.) Using the default mosaico pre-header, you end up with preview text of "Unsubscribe View in your browser...." [update: username_2 notes that the Mosaico pre-header has a preview text option. But this has limitations as noted in the thread.]
  
  It seems there are two ways to edit the preview text in Civi:
  
  1. Creating a pre-header block with the text for the preview, but this will be visible in the text of the email, which often isn't ideal.
  2. Creating a `Preview text here` before any other text in the email. This is not user-friendly and is easily forgotten by users who have the knowledge of how to do it.
  
  Any other suggestions for handling this?
  
  Potential feature request: I'd love to see an non-required field for Preview Text under the subject field for every mailing. And (okay, this is a different, related feature) it would be great if a Preview Text field and Subject line could accommodate emojis (as described [here](https://civicrm.stackexchange.com/questions/15872/has-anyone-used-emojis-in-civimail-subject-body)). If Civi doesn't add these abilities, I'm concerned it will fall behind in user expectations compared to other mass mailers.
  
  **Tags:** civimail, email, mosaico
  
  > **Comments:**
  > **username_1**: Would be useful to log this as a feature request at https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues  
  > **username_2**: Mosaico already has this feature.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2021-11-30. Score: 3 | Accepted answer
  
  I recently wrote an extension to handle this: <https://lab.civicrm.org/extensions/mailingpreviewtext>
  
  [![enter image description here](https://i.sstatic.net/9LgG0.png)](https://i.sstatic.net/9LgG0.png)
  
  > **Comments:**
  > **username_0**: Thank you! I'll check it out.  
  
  ---
  
  ### Answer by username_2 on 2018-11-28. Score: 4
  
  Mosaico 2.x on CiviCRM already has the feature to add "preview text" for emails.
  
  [![Email preview text on CiviCRM Mosaico 2.0-beta4](https://i.sstatic.net/evpuN.gif)](https://i.sstatic.net/evpuN.gif)
  
  This is handled in the default "versafix-1" template and any derivatives thereof by way of a hidden text field in the HTML.
  
  Your supplemental question regarding Emoji is more difficult - the Mosaico library can handle Emoji however CiviCRM's database storage engine doesn't use UTF8MB4 and isn't setup to handle Emoji content at this time. There is an issue [here](https://lab.civicrm.org/dev/core/issues/339) however getting this change into CiviCRM core (which is where it would need to occur) is not simple nor a priority at this time.
  
  > **Comments:**
  > **username_0**: The problem with this is that if users have a mosaico template that they want to reuse, they have to go into the Mosaico editor to make the change, rather than creating a mailing based on that Mosaico template. It's also only a solution if one uses a Mosaico template. Sending out a "normal" message or system workflow message, doesn't have this option easily accessible to the user.  
  > **username_2**: That’s a valid point but it belongs on the Mosaico issue queue as a feature request. The current implementation is basically what comes in Mosaico - so there is currently no CiviCRM changes to that ‘bit’.  
  > **username_0**: But I'm interested in seeing it implemented outside of Mosaico, as not every communication requires the extra steps of Mosaico. Of course, the Mosaico template builder would need to coordinate with the basic mail editor in this regard.  
  > **username_2**: The Mosaico editor has nothing to do with the basic mail editor it is a replacement for it.  
  > **username_2**: @PhilMoriceBrubaker for the more basic communication it’ll depend on how you’re sending it for how best to implement this but the place to start would be the feature requests area on GitLab  
  > **username_0**: Maybe I don't understand how Mosaico is supposed to be used, but my experience of the workflow is: Create a template in Mosaico, Create a new mailing in CiviMail based on that Mosaico template, and then you are back in the basic mail editor to finalize your email but with the Mosaico subject and primary message dropped into the appropriate places. That's not so much a replacement but an augmentation, or a pre-formatter. Am I doing it wrong?  
  > **username_2**: Mosaico replaces the old ‘Civimail’ workflow for mass/scheduled mailings.  
  
  ---
  
  