civicrm / org.civicrm.flexmailer

FlexMailer is now part of civicrm-core. Please see the link below for how to upgrade.
https://civicrm.org/extensions/flexmailer
Other
5 stars 22 forks source link

(mosaico#247) (dev/core#588) Apply prefix to subject of test mailings #28

Closed totten closed 5 years ago

totten commented 5 years ago

This is was previously fixed in https://github.com/civicrm/civicrm-core/pull/12758, but that fix had a couple undesired side-effect:

This is an alternative fix which makes flexmailer more precisely imitate the behavior in the BAO delivery engine.

Note: If one doesn't like this behavior, then you can disable or replace the service, e.g.

Civi::service('civi_flexmailer_test_prefix')->setActive(FALSE);
totten commented 5 years ago

I've r-run this locally (along with a revert of 12758) and confirmed the expected subject lines for:

seamuslee001 commented 5 years ago

@totten i have merged the other PR so i think this is good now

totten commented 5 years ago

/test

totten commented 5 years ago

Thanks, @seamuslee001.

Tests have passed here. Merging.