Make a server setting to toggle outbound email off
We need a simple, error-free way to be 100% certain that no outbound emails can be sent from a test / staging server. Can we have a server setting to toggle this on & off? Or even better, redirect all mail to an address we provide or to a log file to 'catch' all outbound mail?
2
votes

-
Mohammed Joraid commented
Recently I forgot one of my testing installations without disabling or adding captcha to the newsletter subscription form, oh boy, see all type of bot subscriptions and when they receive the confirmation email they mark it as spam so my domain reputation went down.