Details
Description
The domain manager plugin has an automation task that sends domain expiration notices / reminders, as configured under Packages > Domain Options: Configuration > Notifications
The email is triggered at the right time based on the domains expiration date (domains_domains.expiration_date) however the email that is sent includes the services.date_renews date instead.
Abdy said the following:
Checking the code, seems the issue is on the "cronDomainRenewalReminders" method in domains_plugin.php
is calling the registrar getExpirationDate() method (that may be null), instead of the getExpirationDate() method in the DomainsDomains model (that handles cases, such as with the Generic Registrar, that the module doesn't provide a expiration date)
See screenshots. Note that this domain is using Generic Domains, just in case it is relevant.