Skip Navigation

[Resolved] User Email missing in notification sent after registration

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 6 months, 1 week ago.

Assisted by: Waqar.

Author
Posts
#2698546

Hello,

After registtration here : hidden link

I have added an email notification that needs to be sent to user.
It welcomes him and should include the email he used to register.

The problem is it doesnt show as expected (blank space) inside the body of the mail after doing a registration but it does appear when sending a test mail from within notification (admin email)

below the notification from withing form :

Hi [wpv-user field="user_firstname"],

Thank you for registering at Pet Heaven Online. We are deeply sorry for your loss and are here to support you during this difficult time.

Here are your registration details:
- **Email**: [wpv-user field="user_email"]

You can log in to your account using your email address and the password you created during registration. To log in, visit our hidden link">Login page.

As a registered member, you can now create a memorial to honor and remember the life of your beloved pet.

If you have any questions or need assistance, please don't hesitate to reach out to our support team.

With heartfelt sympathy,

The Pet Heaven Online Team

hidden link">petheavenonline.com

#2698632
email-notification-placeholder.png

Hi,

Thank you for contacting us and I'd be happy to assist.

Because a user is not registered at the time or right after filling out the user registration form, the 'wpv-user' won't work.

It is better to use email notification placeholders in this case:
https://toolset.com/lesson-placement/lesson-placements-1621521-1612093/#displaying-post-and-user-fields-in-notifications

Example:


Hi %%USER_FIRST_NAME%%,

**Email**: %%USER_EMAIL%%

Note: You'll see a placeholder button in the email notification editor to choose from the available placeholders.
( example screenshot attached )

regards,
Waqar

#2698735

Works when registering,

Doesnt work when sending test from backend but that doen't matter to me : )

Thanks,

Jacques