How to retrieve the emailaddress of a user #668
Answered
by
datamweb
skeutmeier
asked this question in
Q&A
-
Hi, I want to send an email from my Backend, so I do know the users ID, and I want to send the user an Email. How can I retrieve the Emailaddress (or any other protected attribute)? Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
datamweb
Mar 12, 2023
Replies: 1 comment 2 replies
-
Hi, try $users = model('UserModel');
$user = $users->findById(1);
echo ($user->email); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
datamweb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, try