You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to create a module that we could load to send an email to the email address registered with a nickname, informing them when their account is due to expire in X days (e.g., 10 days before expiration)? The email would remind them to log in with their nickname and password to prevent the account from expiring.
The text was updated successfully, but these errors were encountered:
const char *email_content = _("Dear %s,\n\n"
"Your nickname \2%s\2 is set to expire in 10 days. "
"Please make sure to log in and verify your account to avoid losing your nickname.\n\n"
"Thank you,\n"
"The Team")
% mu->name % entity(mu)->name;
if (!sendemail(NULL, mu, EMAIL_REGISTER, mu->email, key, email_content)) {
slog(LG_INFO, "Failed to send expiration email to \2%s\2", mu->email);
} else {
command_success_nodata(NULL, _("An email has been sent to \2%s\2 regarding their nickname expiration."), mu->email);
}
sfree(key);
Is it possible to create a module that we could load to send an email to the email address registered with a nickname, informing them when their account is due to expire in X days (e.g., 10 days before expiration)? The email would remind them to log in with their nickname and password to prevent the account from expiring.
The text was updated successfully, but these errors were encountered: