How To Disable Automatic Emails

  • Dave
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #40314 by Dave
How To Disable Automatic Emails was created by Dave
Hi there,

I would like to disable some of the automated emails sent out by Membership Pro. Is there a way for me to do this?
Thanks for your help!

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #40377 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How To Disable Automatic Emails
Hi Dave

Please let me know exactly what emails you want to disable so that I can guide you (some code modification might be needed).

Tuan

Please Log in or Create an account to join the conversation.

  • Dave
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #40381 by Dave
Replied by Dave on topic Re: How To Disable Automatic Emails
I just want to disable the "Subscription approved" email message because I am manually moving some subscribers from a different subscription extension but I don't want them getting confusing messages when I do it.

Is there an easy way to disable this one?
Thanks

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #40382 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How To Disable Automatic Emails
1. Open the file administrator/components/com_osmembership/models/subscriber.php

2. Find the code below and remove it:
Code:
OSMembershipHelper::sendMembershipApprovedEmail($row);

After that, it should work as expected !

Tuan

Please Log in or Create an account to join the conversation.

  • Dave
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #40383 by Dave
Replied by Dave on topic Re: How To Disable Automatic Emails
Thanks for the quick response! (as always)

Please Log in or Create an account to join the conversation.