Open michaelmcandrew opened 6 years ago
@michaelmcandrew just a few failures https://test.civicrm.org/job/CiviCRM-FlexMailer-PR/13/ :-)
jenkins test this please
Once the tests pass here, I should ask tim to review https://github.com/civicrm/civicrm-core/pull/12061
jenkins test this please now that https://github.com/civicrm/civicrm-core/pull/12026/files has been merged
see full discussion in https://lab.civicrm.org/dev/mail/issues/3
jenkins, test this please
Tests seem to be passing? https://test.civicrm.org/job/Extension-SHA/749/console
@michaelmcandrew Have you been running this patch for the past 2 years? Is there anything that you might think could be blocking a merge? (I won't merge it, but I can try to get another merger to review it)
This PR alters
DefaultComposer
as follows:Only create a body_text (text/plain)
message for TokenProcessor if body_text has been specified. If it has not bee specified, set
$autoGeneratePlainText` to true for DefaultComposer so we know to auto generate the plain text version later onOnce any token substitution and link tracking has happened, if no plain text version has been specified, run the generated HTML through
CRM_Utils_String::htmlToText
to create a plain text version of the email.See associated PR on civicrm-core for more details.