Email customizations
This is a list of email-related locale definitions currently used in Vanilla: https://github.com/vanilla/vanilla/blob/master/applications/dashboard/locale/en.php [updated]
Cmd + F for $Definition['Notify or $Definition['Email as needed to get the definitions you want.
There an extreme lack of consistency in how email bodies are generated. Some of them string together EmailHeader + {Specific Definition} + EmailFooter, but others just do the whole thing in 1 definition. And then VanillaPop (when enabled) adds a whole 'nother level of complexity on top of that by adding its own formats:
https://github.com/vanilla/internal/blob/master/plugins/VanillaPop/locale/en-CA.php
The end result is you'll need to guess-and-check a little. Always confirm the emails work as intended with a test before telling the client.
Comments
-
To add a line to every email (like a link to email preferences), I'd edit every definition that had "Have a nice day!" in it, and add your desired change 2 new lines after that.
Also remember that our emails cannot do HTML at all, currently.
1 -
'Check out the new community forum I\'ve just set up.'
'Hi Pal!'
'%s has created an account for you at %s.'
'%s has invited you to join %s.'
'%s has reset your password at %s.'
'Check it out'
'Confirm My Email Address'
'Confirm Your Email Address'
'Connected With: {ProviderName}'
'Hello!'
'Hello {User.Name}!'
'Hello %s!'
'Find your account information below.'
'Join this Community Now'
'Reset Your Password'
'Sign In Now'
'We\'ve received a request to change your password.'
'You have been approved for membership.'
'You have successfully registered for an account at {Title}.'
'You have successfully connected to {Title}.'
'You need to confirm your email address before you can continue.'
'Your login credentials are:Email: %s
Password: %s'1