News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

E-mail notification - after user changes

Started by jedzon, January 11, 2014, 23:58:44 PM

Previous topic - Next topic

jedzon

Hi,
Is there a way to send to administrator e-mail with nothification that user make some changes on his account (with new data or what was changed - name/address, etc.).

Thank you

vaistik

I could really use that myself. Been looking through VM files to maybe implement it on my own but no luck yet. Any pointers would be appreciated!

vaistik

I did found something that looks like it could work. I have only tried it localy so I don't know if the mail actually gets sent but I do get a mail instance failed message so assume it works.

Have a look at components/com_virtuemart/controllers/user.php in the saveData function.

I added a JFactory::getMailer()->sendMail() function just before the return $msg line.

I hope this helps someone, good luck!