Skip to content


Is a Software to send mail from Linux.

Setup with Sendgrid

Source - apt install bsd-mailx - Edit sudo nano /etc/mail.rc and add:

set smtp=smtp://  
set [email protected]  
set smtp-auth=login  
set smtp-auth-user=apikey  
set smtp-auth-password=GENERATED_KEY
  • Test: mail -s "This is A Test Subject" [email protected]
    • When hitting Enter, the mail body must be sent
    • Exit this mode by . then Enter