VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: squawk on November 04, 2013, 14:52:11 PM

Title: Stop new user email to admin
Post by: squawk on November 04, 2013, 14:52:11 PM
Does anyone know how to stop the new user confirmation email that is sent to the administrator?
I don't want to stop any other email, ie new orders etc. Just the new user.
I set the 'Notification Mail to Administrators' to no within the user configeration but no joy.
Can anyone help

Many Thanks
Title: Re: Stop new user email to admin
Post by: GJC Web Design on November 04, 2013, 22:07:44 PM
Doesn't it come from Joomla com_user?
Title: Re: Stop new user email to admin
Post by: chetanmadaan on November 04, 2013, 23:14:50 PM
It's send using the following file.

\components\com_users\models\registration.php --> line: 467 -- 477

comment those and you should be fine i guess... just make sure you test it and your site doesn't go down.

Title: Re: Stop new user email to admin
Post by: squawk on November 05, 2013, 10:13:16 AM
Thanks for the replies.
I'll give the above method a go.

Many thanks  :)