Configuring rails for smtp.