Hello,
You have this as an example of email recipient for the email form plugin on your page:
$myId = $this->data['yourtable___youruser'];
$myId = is_array($myId) ? $myId[0] : $myId;
if (!empty($myId)) {
$myUser = JFactory::getUser((int)$myId);
return $myUser->get('email');
}
return '';
Unfortunatelly this does not work for me. Emails to group are sent with no problem.
Updated fabrik to the latest github, still no go.
Do not even get an error when setting logging to maximum.
Thank you in advance for help!
You have this as an example of email recipient for the email form plugin on your page:
$myId = $this->data['yourtable___youruser'];
$myId = is_array($myId) ? $myId[0] : $myId;
if (!empty($myId)) {
$myUser = JFactory::getUser((int)$myId);
return $myUser->get('email');
}
return '';
Unfortunatelly this does not work for me. Emails to group are sent with no problem.
Updated fabrik to the latest github, still no go.
Do not even get an error when setting logging to maximum.
Thank you in advance for help!