Hello
Is it possible to add a specific user's e-mail with id = xx to the Recipients Admin e-mail field with a short code? e.g. {user = xx: email}. The point is that you don't have to change in several places each time. This is useful when there are a lot of forms on the website and the staff cannot have access to everything. This is probably very important and useful for everyone and would make it a lot easier.
Joomla 3.9.27
Is it possible to add a specific user's e-mail with id = xx to the Recipients Admin e-mail field with a short code? e.g. {user = xx: email}. The point is that you don't have to change in several places each time. This is useful when there are a lot of forms on the website and the staff cannot have access to everything. This is probably very important and useful for everyone and would make it a lot easier.
Joomla 3.9.27
Hi sylwebk,
I'm not sure that I understand your question :-(
You can use {user:email} to get the current user's email address. For another user you would need to look up the address using a Read Data action.
Bob
I'm not sure that I understand your question :-(
You can use {user:email} to get the current user's email address. For another user you would need to look up the address using a Read Data action.
Bob
I have created users in Users Joomla with email addresses. Is it possible to insert a command into the recipients field, which will extract the email of a specific user? e.g. {user=11:email}
Is there any shortcode formula for this? It is an e-mail of the user with a specific id.
Do you understand what I mean now
Is there any shortcode formula for this? It is an e-mail of the user with a specific id.
Do you understand what I mean now
Hi sylwekb,
I don't think that there is a short code to get data for a user apart from the current one. You can use a Read Data action to get it though.
Bob
I don't think that there is a short code to get data for a user apart from the current one. You can use a Read Data action to get it though.
Bob
What does the example read action command look like for a specific e-mail user? Do I put this in the recipients field?
Use a read data action, with the user id you're after.
Then {var:read_data_name.model_name.email}
Then {var:read_data_name.model_name.email}
You need to login to be able to post a reply.