Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM

Looking for more inspiration?Visit the

ssmtp


You can use Twilio SendGrid as the SMTP relay for ssmtp, a lightweight mail transfer agent for Unix-like systems. To add SendGrid as an SMTP relay for ssmtp, edit /etc/ssmtp/ssmtp.conf and add the following:

1
mailhub=smtp.sendgrid.net:587
2
AuthUser=apikey
3
AuthPass=sendgridapikey
4
UseSTARTTLS=YES

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