Question: Short Tags Email Templates Not Working Correctly

Short Tags Email Templates Not Working Correctly

Hi Team, I'm having some issues with short tags of the email templates. For example after creating a new user, the short tags {username} and {client_link} of the Add User template are not

VK

van Kessel

Asked
Hi Team,

I'm having some issues with short tags of the email templates.
For example after creating a new user, the short tags {username} and {client_link} of the Add User template are not working.
The same for the Activation Email template, the tag {client_link} is not working.

Is there also a better way to test these templates within the system? Or maybe a something for the next update, so the email templates can be tested and also if you create a custom email template, the testing is much easier.

Thanks!

With regards,

Ralph
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check the email templates again. The short tags are mention for each email. Add user only have these `{logo} {site_name} {site_link} {client_name} {email} {password}` while activation has only these `{logo} {site_name} {site_link} {user_name} {email} {activation_link}`

    You can test emails using mailtrap.io

    I can't promise but will check for your suggestion in future updates.

    Thank you
  • VK

    van Kessel

    Answered
    Hi Team,

    Yeah I know but also the default mail templates are failing! Because after creating a new user and I received the mail, everything works fine in the received email except the tag user_name.

    Thanks!
  • VK

    van Kessel

    Answered
    Hi Team,

    can you also tell me where the script, the mailing stuff is controlled?
    Because I want to customize it. Like other subjects, create extra and new templates.

    Thanks!

    Ralph
  • MS

    Mian Saleem

    Answered
    Hello,

    Each email is from their relative controller and method so I can list them all. For \eEmail templates, you can check the `email_templates` method of `app/controllers/admin/System_settings.php`

    Thank you
  • Login to Reply