From 8a77438d64d12f78e9368e1ad03745f113b6642e Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Sun, 13 Dec 2020 14:58:04 -0500 Subject: [PATCH] added instructions for testing --- linux/mail/msmtp.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/linux/mail/msmtp.md b/linux/mail/msmtp.md index 88fe96b..6e8ee58 100644 --- a/linux/mail/msmtp.md +++ b/linux/mail/msmtp.md @@ -32,3 +32,13 @@ since you will be putting a plaintext password in this config file, make sure it ``` chmod og-r /etc/msmtprc ``` + +## test +you can test if you can connect to the server by running: +``` +msmtp -Sd +``` +or try sending yourself an email by running: +``` +echo "this is a test" | mail -s "testing" youremail@yourdomain +```