Tweak Patrons Circle renewal emails

This commit is contained in:
Alex Cabal 2023-08-02 10:33:06 -05:00
parent 89eee1fd60
commit 031aa0f4df
3 changed files with 10 additions and 8 deletions

View file

@ -76,7 +76,7 @@ if(sizeof($expiredPatrons) > 0){
$em->FromName = EDITOR_IN_CHIEF_NAME; $em->FromName = EDITOR_IN_CHIEF_NAME;
$em->To = $patron->User->Email; $em->To = $patron->User->Email;
$em->ToName = $patron->Name; $em->ToName = $patron->Name;
$em->Subject = 'Will you continue supporting beautiful digital literature?'; $em->Subject = 'Will you still help us make free, beautiful digital literature?';
if($lastPayment[0]->IsRecurring){ if($lastPayment[0]->IsRecurring){
// Email recurring donors who have lapsed // Email recurring donors who have lapsed

View file

@ -1,9 +1,9 @@
<?= Template::EmailHeader(['letterhead' => true]) ?> <?= Template::EmailHeader(['letterhead' => true]) ?>
<p>Hello,</p> <p>Hello,</p>
<p>Last year, your generous donation to <a href="<?= SITE_URL ?>">Standard Ebooks</a> made it possible for us to continue producing beautiful ebook editions for free distribution. It also allowed me to add you to our <a href="<?= SITE_URL ?>/about#patrons-circle">Patrons Circle</a>, a group of donors who are honored on our masthead, and who have a direct voice in the future of our <a href="<?= SITE_URL ?>/ebooks">ebook catalog</a>, for one year.</p> <p>Last year, your generous donation to <a href="<?= SITE_URL ?>">Standard Ebooks</a> made it possible for us to continue producing beautiful ebook editions for free distribution.</p>
<p>Now that a year has passed, will you renew your membership to our Patrons Circle?</p> <p>It also allowed me to add you to our <a href="<?= SITE_URL ?>/about#patrons-circle">Patrons Circle</a>, a group of donors who are honored on our masthead, and who have a direct voice in the future of our <a href="<?= SITE_URL ?>/ebooks">ebook catalog</a>, for one year.</p>
<p><? if($ebooksThisYear > 0){ ?>In the year since you joined our Patrons Circle, our volunteers produced <?= number_format($ebooksThisYear) ?> new free ebooks. We need the financial support of literature lovers like you in order to keep up that pace. <? }else{ ?>We need the financial support of literature lovers like you in order to keep producing free ebooks. <? } ?><em>Your membership in our Patrons Circle is what makes Standard Ebooks possible.</em></p> <p><? if($ebooksThisYear > 0){ ?>In that year, our volunteers produced <?= number_format($ebooksThisYear) ?> new free ebooks. We need the financial support of literature lovers like you in order to keep up that pace.<? }else{ ?>We need the financial support of literature lovers like you in order to keep producing free ebooks.<? } ?> <em>Your membership in our Patrons Circle is what makes Standard Ebooks possible.</em></p>
<p><strong>We cant do it without you.</strong> Will you join us for another year of beautiful digital literature?</p> <p>Now that a year has passed, will you <a href="<?= SITE_URL ?>/donate#patrons-circle">renew your membership to our Patrons Circle?</a> <strong>We cant do it without you!</strong></p>
<p class="button-row"> <p class="button-row">
<a href="<?= SITE_URL ?>/donate#patrons-circle" class="button">Renew your Patrons Circle membership</a> <a href="<?= SITE_URL ?>/donate#patrons-circle" class="button">Renew your Patrons Circle membership</a>
</p> </p>

View file

@ -1,12 +1,14 @@
Hello, Hello,
Last year, your generous donation to Standard Ebooks made it possible for us to continue producing beautiful ebook editions for free distribution. It also allowed me to add you to our Patrons Circle, a group of donors who are honored on our masthead, and who have a direct voice in the future of our ebook catalog, for one year. Last year, your generous donation to Standard Ebooks made it possible for us to continue producing beautiful ebook editions for free distribution.
It also allowed me to add you to our Patrons Circle, a group of donors who are honored on our masthead, and who have a direct voice in the future of our ebook catalog, for one year.
Now that a year has passed, will you renew your membership to our Patrons Circle? Now that a year has passed, will you renew your membership to our Patrons Circle?
<? if($ebooksThisYear > 0){ ?>In the year since you joined our Patrons Circle, our volunteers produced <?= number_format($ebooksThisYear) ?> new free ebooks. We need the financial support of literature lovers like you in order to keep up that pace. <? }else{ ?>We need the financial support of literature lovers like you in order to keep producing free ebooks. <? } ?>*Your membership in our Patrons Circle is what makes Standard Ebooks possible.* <? if($ebooksThisYear > 0){ ?>In that year, our volunteers produced <?= number_format($ebooksThisYear) ?> new free ebooks. We need the financial support of literature lovers like you in order to keep up that pace.<? }else{ ?>We need the financial support of literature lovers like you in order to keep producing free ebooks.<? } ?> *Your membership in our Patrons Circle is what makes Standard Ebooks possible.*
**We cant do it without you.** Will you join us for another year of beautiful digital literature? Now that a year has passed, will you [renew your membership to our Patrons Circle?](<?= SITE_URL ?>/donate#patrons-circle) **We cant do it without you!**
Renew your Patrons Circle membership here: <<?= SITE_URL ?>/donate#patrons-circle> Renew your Patrons Circle membership here: <<?= SITE_URL ?>/donate#patrons-circle>