Test Postfix Email From Command Line in Terminal

A1WEBSITEPRO QuestionsCategory: GmailTest Postfix Email From Command Line in Terminal
Jack asked 2 years ago

How do I test emails in Postfix commend line in terminal?

Test Postfix Email From Command Line in Terminal was last modified: November 17th, 2021 by Jack
1 Answers
Maximus Mccullough Staff answered 2 years ago

Here is an example on how you would email on a terminal command line with Postfix.

echo "Test mail from postfix" | mail -s "Test Postfix" email@gmail.com

Answer for Test Postfix Email From Command Line in Terminal was last modified: November 17th, 2021 by Maximus Mccullough