Jump to content

Domain Renewal Email Template


Recommended Posts

the Upcoming Domain Renewal email template contains the following...

 

{if $expiring_domains}{foreach from=$expiring_domains item=domain}{$domain.name} - {$domain.nextduedate} ({$domain.days} Days)
{/foreach}{elseif $domains}{foreach from=$domains item=domain}{$domain.name} - {$domain.nextduedate}
{/foreach}{else}{$domain_name} - {$domain_next_due_date} ({$domain_days_until_nextdue} Days){/if}

when you manually (it probably happens with automated emails too, but they're more difficult to test) send a UDR email to a client about a domain due to expire in the future, it uses the final {else} statement.

 

{else}{$domain_name} - {$domain_next_due_date} ({$domain_days_until_nextdue} Days){/if}

for us, whichever domain we choose that has a renewal date in the future, {$domain_days_until_nextdue} is always equal to 0.

 

the merge field text says that "'Days Until Expiry' and 'Days Until Next Due' will show 0 if the date has passed." - however, the expiry and next due dates for these domains are exactly the same - so the two values should match, but {$domain_days_until_nextdue} gives 0, whilst {$domain_days_until_expiry} gives the correct number of days.

 

therefore, I don't believe that {$domain_days_until_nextdue} is being calculated correctly for future renewals - which means that the resulting emails will not show the correct information... in the short-term, I can work around this by replacing {$domain_days_until_nextdue} with {$domain_days_until_expiry} in the email template.

 

also, and on a related topic, the recent blog post stated that...

 

ICANN now requires sufficient logging of the domain renewal notices so that an audit trail can be provided for regulatory compliance. With that being said, in WHMCS 5.3.12 we've introduced a new dedicated logging system for domain renewal notices which will keep a log of all renewal notices that are sent, along with the date and recipients, and provide an easy way to view and export that information upon request via a new report.

is this feature intentionally designed to log only cron-generated Domain Reminder emails? If not, then there is another bug as it doesn't log manually-sent Domain Reminder emails.

Link to comment
Share on other sites

  • WHMCS CEO
Is this feature intentionally designed to log only cron-generated Domain Reminder emails? If not, then there is another bug as it doesn't log manually-sent Domain Reminder emails.

It has been designed to only log emails sent by the automated cron process at this time. We can certainly look into adding the logging of manually sent renewal notice emails too however.

 

Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated