thinkshout / robo-drupal

Robo commands and tasks for Drupal
GNU General Public License v3.0
6 stars 0 forks source link

Disable email sending for local development #3

Open olivierbouwman opened 7 years ago

olivierbouwman commented 7 years ago

Prevent sending emails through services like Mandrill, Sendgrid, etc. from a development environment. Perhaps also disable mail/sendmail but that might have to be done on each development machine. If this issue could occur on non-Drupal sites (Travel Oregon/Wordpress?) perhaps we need to think of that as well.

olivierbouwman commented 7 years ago

@Greg-Boggs mentioned that recurring payments are also risky in a development environment. Perhaps disable API keys for common payment options in dev? Perhaps also an idea to have a drupal module that does development protections for emails/payments/others? Maybe a plugin for the devel module?

mariacha commented 4 years ago

We do have solutions for this on a number of projects -- the reroute_email module and the mail_safety module are both good for this. Possibly pick an approach and add that to our drupal project.