I was trying to send an e-mail from the terminal, but it doesn't work and I can't find the reason. My
.msmtprc file is:
account default host smtp.gmail.com port 587 from firstname.lastname@example.org tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt auth on user email@example.com password password logfile ~/.msmtp
(instead of account and password, of course, I have my data written) Then I use command
msmtp -t < test.txt
and no mail is sent (
test.txt contains To:, From:, Subject: and text)!