Skip to content

Instantly share code, notes, and snippets.

@twfahey1
Created May 13, 2020 15:59
Show Gist options
  • Save twfahey1/0fc8dd5a20f8b131a0340d6fd7df0f08 to your computer and use it in GitHub Desktop.
Save twfahey1/0fc8dd5a20f8b131a0340d6fd7df0f08 to your computer and use it in GitHub Desktop.
Run php script with drush against Pantheon site with terminus
➜ echo "print_r( variable_get('mail_system'));" | terminus drush my-pantheon-site.dev -- php-script -
Array
(
[default-system] => DefaultMailSystem
[htmlmail] => HTMLMailSystem
)
[notice] Command: my-pantheon-site.dev -- drush php-script [Exit: 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment