I was trying to send mail from bash, but it doesn't work and I can't find the reason... So my .msmtprc file is
account default host smtp.gmail.com port 587 from [email protected] tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt auth on user [email protected] 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)! I've been struggling with this for some time, and it's really annoying... Any help would be appreciated.
Thanks in advance!