Email tokens not appearing

Created on 18 April 2024, 8 months ago

When I view the list of tokens, it is not showing me a list of email recipient tokens as shown in the video: https://youtu.be/2pjFr3cf9uw?si=onG8J0q8K90Lwxnx&t=1039

Also, I tried using a profile-related token ([current-user:member:field_first_name]) and it does not add data and the token appears as plain text in the email. How can I access that field from the user's profile?

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hockey2112
  • Status changed to Closed: works as designed 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States zengenuity

    Email tokens only appear in the context of an easy email entity. If you're viewing the token browser from another page, not the edit template page, then I would not expect easy email tokens to be available. There would be no email for them to refer to.

    If you're having an issue on the email template edit page, then you can feel free to reopen this issue, but for now I'm going to close it.

  • πŸ‡ΊπŸ‡ΈUnited States hockey2112

    Sorry for the late reply to this. Re-opening because I am not seeing the token result in the email.

    Here is the relevant portion of the email template:

    A request to reset the password for your account has been made at [site:name].
    <br><br>
    You may now log in by clicking this link or copying and pasting it into your browser:
    <br><br>
    [user:one-time-login-url]
    [current-user:one-time-login-url]
    <br><br>
    This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.

    And this is the output in the password reset email I receive:

    A request to reset the password for your account has been made at My Website.
    
    You may now log in by clicking this link or copying and pasting it into your browser:
    
    
    
    This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.

    As you can see, "My Website" (the site:name) does appear in the email, but neither version of the user one-time login url appear in the email. How can I include that one-time login url?

  • πŸ‡ΊπŸ‡ΈUnited States hockey2112
Production build 0.71.5 2024