public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
if(!$isNew)
{
// Start body of email
$body=$user->name." updated user profile. \n\n";
// Add fields to body email
foreach($changed as $fieldalias){
$body.=$fieldalias .": ". $data[$fieldalias] ."\n";
}
// Send Email
$result=JFactory::getMailer()->sendMail(
$user->email, // Sender Mail
$user->name, // Sender Name
'[email protected]', // Receiver Mail
'Profile Updated', // Subject Mail
$body // Body Mail
);
}
}
$mailer = JFactory::getMailer();
$recipient = array( '[email protected]', '[email protected]', '[email protected]' );
$result=JFactory::getMailer()->sendMail(
$user->email, // Sender Mail
$user->name, // Sender Name
$recipient, // Receiver Mail
'Profile Updated', // Subject Mail
$body // Body Mail
);
I'm sorry but we do not do custom works, we support Easy Profile as it is. Of course, we can point you on the right way but we can't do this for you.
I don't think that is custom worksThis is not a Easy Profile feature and provide code require time only for your needs. An example also in this post (about multiple email addresses to send email), Joomla API to send emails are public and not developed by us. to reply to your previous problem, I have to search, read and study Joomla documentation.
This Easy Profile is component for management info userIt is not so, Users are managed by Joomla and not Easy Profile.
Easy Profile is a powerful profiler extension, it extends Joomla user profile management by adding custom fields and many other features
Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.
Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.
Before you post: read the documentation and search the forums for an answer to your question.
When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).
Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.
Language: only English
Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.
Our site uses non fat, delicious cookies which help us improve your user experience. You can read more about it in our Legal page.