Today I needed a local smtp server and I tried to connect firstly with my gmail account, but that’s not a good idea, because maybe you don’t want to commit your credentials and share them with your team.

## Use Gmail SMTP Settings

If you want to use gmail server, with your credentials, here are the credentials:

Host: smtp.gmail.com
Port (TLS): 587
Port (SSL): 465
TLS/SSL required: true


## Use Local Server

I installed MailCatcher and I discover that it’s very easy to install it and to use it.

$gem install mailcatcher $ mailcatcher