Hi,
Easy Profile does not do this, but you can use a simple custom plugin, please follow these steps:
- Download (at the end of docs page at
http://docs.easy-profile.com/index.php/article/triggers ), install and enable (Extensions->Plugins) skeleton plugin
- Open the edit the file at /plugins/jsn/skeleton/skeleton.php
- Replace entire code with this
<?php
defined('_JEXEC') or die;
class PlgJsnSkeleton extends JPlugin
{
public function triggerProfileUpdate($user, $data, $changed, $isNew)
{
if(!$isNew)
{
$body=$user->name." updated user profile. \n\n";
foreach($changed as $fieldalias){
$body.=$fieldalias .": ". $data[$fieldalias] ."\n";
}
$config = JFactory::getConfig();
$result=JFactory::getMailer()->sendMail(
$config->get( 'mailfrom' ), // Sender Mail
$config->get( 'fromname' ), // Sender Name
'[email protected]', // Receiver Mail
'Profile Updated', // Subject Mail
$body // Body Mail
);
}
}
}
?>
IMPORTANT: Replace
[email protected] with email of receiver