Author Topic: How to disable registration mail?  (Read 120 times)

Twototango

  • Beginner
  • *
  • Posts: 4
  • A beginner
How to disable registration mail?
« on: December 06, 2018, 13:17:43 pm »
I want to stop VM sending out the registration mail to new users.

Registration mail to shop owner is ok
But do not want new users to receive this.

How do I go about this, can't see an option for it in VM (3.4.2)

Thanks for replying

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: How to disable registration mail?
« Reply #1 on: December 06, 2018, 15:35:03 pm »
Hi  Jack,

it is hardcoded in the administrator\components\com_virtuemart\models\user.php ->  private function sendRegistrationEmail($user,$password, $useractivation);

you could adapt it there  - a switch in admin could be nice though
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Twototango

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: How to disable registration mail?
« Reply #2 on: Today at 11:03:31 »
Thanks John, I should be able to find that ;-)

I agree... shop owners should have control over what is, and isn't, send to their customers.
A switch would be nice.