Yes but require basic PHP Knowledge.
You can use our skeleton plugin to add this function.
1. Go to documentation page here:
https://www.easy-profile.com/docs/44-triggers.html
2. Download, install and enable the skeleton plugin, you can find it at the end of documentation page.
3. Edit file /plugins/jsn/skeleton/skeleton.php
- delete functions triggerFieldAvatarUpdate and triggerProfileUpdate
- add a function like this:
function triggerProfileUpdate($user,$data,$changed){
$mailSender=$data['email'];
$mailSenderName=$data['name'];
$mailSubject='Change User Data';
$mailBody="I have changed following data:\n\n";
foreach($changed as $val)
{
$mailBody.=$val.": ".$data[$val]."\n";
}
// --- EMAIL 1
$mailReceiver='[email protected]'; // Receiver email
JFactory::getMailer()->sendMail(
$mailSender, // Sender Mail
$mailSenderName, // Sender Name
$mailReceiver, // Receiver Mail
$mailSubject, // Subject Mail
$mailBody // Body Mail
);
// --- EMAIL 2
$mailReceiver='[email protected]'; // Receiver email
JFactory::getMailer()->sendMail(
$mailSender, // Sender Mail
$mailSenderName, // Sender Name
$mailReceiver, // Receiver Mail
$mailSubject, // Subject Mail
$mailBody // Body Mail
);
}
NOTE: This code is an example to give you a idea. This code is not supported. Anyway I tested and work.