# ssmtp

To add SendGrid as an SMTP relay for ssmtp, edit `/etc/ssmtp/ssmtp.conf` and add the following:

```bash
mailhub=smtp.sendgrid.net:587
AuthUser=apikey
AuthPass=sendgridapikey
UseSTARTTLS=YES
```

Your changes will come into effect as soon as the next message is sent via `ssmtp`.
