Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Last active August 29, 2015 13:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwbarnett/9922367 to your computer and use it in GitHub Desktop.
Save jasonwbarnett/9922367 to your computer and use it in GitHub Desktop.
This is how you can use mutt with a gmail account to send email at the command line.
## Install homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
## Run brew doctor to make sure everything is ok
brew doctor
## Install mutt
brew install mutt
## Setup your .muttrc file with the gmail smtp info:
cat > ~/.muttrc <<EOF
set smtp_url = "smtp://username@mindjet.com@smtp.gmail.com:587/"
set smtp_pass = "passwordgoeshere"
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment