Skip to content

Instantly share code, notes, and snippets.

@mgussekloo
Created February 8, 2021 21:25
Show Gist options
  • Select an option

  • Save mgussekloo/749e01136b53241ca70bc283e19e880e to your computer and use it in GitHub Desktop.

Select an option

Save mgussekloo/749e01136b53241ca70bc283e19e880e to your computer and use it in GitHub Desktop.
Preventing PHP from sending mails when using homebrew
Create a file "disablemail.ini" in /opt/homebrew/etc/php/7.4/conf.d
sendmail_path="cat > ~/Sendmail/mail.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment