• Hello

    I have recently had a problem with the link to create a password, which the user receives in an e-mail.

    The shortcode ({password_reset_link}) is displayed in the e-mail as normal text and is not clickable.

    The code:

    <div style=" padding: 20px; background: #ffffff; border-radius: 5px; margin: 40px auto; font-family: Open Sans,Helvetica,Arial; font-size: 15px; color: #666;">
    <center><div style="color: #444444; font-weight: normal;">
    <div><img src="https://solafide.ch/wp-content/uploads/2021/03/solafide_Logo_ohnewwww-1.png" /></div></center>
    <div style=" padding: 20px; background: #ffffff; border-radius: 5px; margin: 40px auto; font-family: Open Sans,Helvetica,Arial; font-size: 15px; color: #666;">
    <div style="color: #444444; font-weight: normal;">
    <div style="clear: both;">?</div>
    </div>
    <div style=" border-bottom: 3px solid #eeeeee;">
    <div style="font-size: 24px; text-align: center; line-height: 40px;">Vielen Dank für Deine Anmeldung als Mitglied bei solafide. Dein Account ist nun aktiv</div>
    </div>
    <div>
    <div style="padding: 30px 0; font-size: 18px; line-height: 25px;">Als erstes musst Du ein eigenes Passwort setzen, welches Du mit Hilfe der Funktion "Passwort zurücksetzen" erledigen kannst. Um dies zu tun, klicke auf den Link unten.</div>
    </div>
    <div style="; padding: 20px; background: #ffffff; border-radius: 5px; margin: 40px auto; font-family: Open Sans,Helvetica,Arial; font-size: 15px; color: #666;">
    <div style="padding: 0 30px 30px 30px; border-bottom: 3px solid #eeeeee;">
    <div style="padding: 0 0 15px 0;">
    <div style="background: #eee; color: #444; padding: 12px 15px; border-radius: 3px; font-weight: bold; font-size: 16px;">Account-Details</div>
    <div style="padding: 10px 15px 0 15px; color: #333;"><span style="color: #999;">Login-Adresse:</span><span style="font-weight: bold;"> {login_url}</span></div>
    <div style="padding: 10px 15px 0 15px; color: #333;"><span style="color: #999;">Deine E-Mail:</span> <span style="font-weight: bold;"> {email}</span></div>
    <div style="padding: 10px 15px 0 15px; color: #333;"><span style="color: #999;">Dein Benutzername:</span> <span style="font-weight: bold;"> {username}</span></div>
    <div style="padding: 10px 15px 0 15px; color: #333;"><span style="color: #999;">Dein Passwort setzen:</span> <span style="font-weight: bold;"> {password_reset_link}</span></div>
    <div>?</div>
    </div>
    </div>
    <div style="color: #999; padding: 20px 30px;">
    <div>Vielen Dank!</div>
    <div><a style="color: #3ba1da; text-decoration: none;" href="{site_url}">{site_name}</a></div>
    </div>
    </div>
    </div>
    </div>
    </div>

    All other shortcodes in the email work like the name, the page title and the email address.

    I have to trigger a “request new password” after each registration via the backend. Then the user can click on this, this works.
    But in the actual mail the shortcode does not work…

    Does anyone know where I should look for the error?

    Thank you and best regards

    Dani

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode {password_reset_link} funktioniert nicht in Email’ is closed to new replies.