Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A list of all variables is available on this page.

AmountSyntaxResult
1 DomainYour domain %domain% expires in %days_until_expiry% daysYour domain example.org expires in 5 days
2 DomainsYour domain <listdomains>1</listdomains> expiresYour domain example.org expires
2 DomainsYour domain <listdomains>10</listdomains> expiresYour domain example.org, example.net expires
5 DomainsYour domain <listdomains>2</listdomains><ifmore> and %remaining_count% more</ifmore> expiresYour domain exmaple.org, example.net and 3 more expires
3 Domains%total_expire_amount% of your %total_domain_amount% domains expires in few days (<listdomains>1</listdomains><ifmore> and %remaining_count% more</ifmore>)!3 of your 5 domains expires in few days (example.org and 2 more)
2 DomainsYour domains expire on %expiry_date%

Your domains expire on

 

3 Domains%total_expire_amount% domains expire on %expiry_date%

3 domains expire on

 


Mail Body

You should always loop through the $expiring_domains array. Even if only a single domain expires.
This makes your template compatible to the domain grouping feature. 


Full example

Code Block
Dear {$client_name},

This is a reminder that the domain listed below is scheduled to expire soon.

Domain Name - Expiry Date - Description
--------------------------------------------------------------
{foreach from=$expiring_domains item=domain}
{$domain.name} - {$domain.nextduedate} - Expires in ({$domain.days_until_expiry} Days) - {if $invoice_link} <a href="{$invoice_link}">Pay Invoice {$invoice_id}</a> {else} {$renew_link} {/if}
{/foreach}

Please be aware that if your domain name expires, any web site or email services associated with it will stop working.

Renew it now to avoid interruption in service.

To view and manage your domains, you can login to our client area here: Client Area

If you have any questions, please reply to this email. Thank you for using our domain name services.

{$signature}


List Domains

Code Block
{foreach from=$expiring_domains item=domain}
{$domain.name} - {$domain.nextduedate} ({$domain.days} Days) {if $invoice_link} <a href="{$invoice_link}">Pay Invoice {$invoice_id}</a> {else} {$renew_link} {/if}
{/foreach}

...

But if you want to use only one mail template, and you still want to write different texts per reminder, you can use the "$ reminder$reminder_type" variable.

Code Block
{if $reminder_type eq 1}
This is your first reminder about ...
{/if}


{if $reminder_type eq 5}
This is your last reminder
{/if}

...