How to change registration email template from a package?

Permalink
Is it possible to override the registration verification email with a template provided by a package so that all emails from a site have a good consistent look and feel?

I know I can edit validate_user_email.php manually and put some html in there but that is so wrong an approach that I assume there must be a method to do it 'properly' as the default system email is pretty ugly and terse.

surefyre
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi surefyre,

Here is a response to your question from Slack:
"I'm not sure you can. You'd need to override at the application level or replace the controller that tries to send the mail in the first place. Luckily you can override the thing that sends it really really easily. This kind of question would be good for stackoverflow."
$app->bind(StatusService::class, CustomStatusService::class)
surefyre replied on at Permalink Reply
surefyre
Cheers Mr K, I suspected as much.

That would seem to be a shortcoming :o(