I'm trying to send an email using mutt like this:
echo 1.txt | mutt my_email@gmail.com -s Hello -a file.tar.bz2
It's getting no error, but I didn't receive the email. What's the problem?
I'm trying to send an email using mutt like this:
echo 1.txt | mutt my_email@gmail.com -s Hello -a file.tar.bz2
It's getting no error, but I didn't receive the email. What's the problem?
Assuming that you are using a local smtp server, have you checked the maillog? If that is the case, please post some of the log...
Try launching mutt with debug level 1 with the command: mutt -d 1
I solved my problem this way (the certificate couldn't be saved, and mutt was silently not sending emails).
mutt -d 1 is really useful, especially after setup .muttrc file (refer to https://unix.stackexchange.com/questions/451259/muttrc-file-for-gmail-and-yandex, the password should be application access password) and gmail application-specific password (refer to https://unix.stackexchange.com/questions/226936/how-to-install-setup-mutt-with-gmail-on-centos-and-ubuntu), then run only with mutt -d 1 able to observe if the certificate downloading good or not, it will ask you to confirm save if success, after certificate saved you will see pulling emails from gmail happen
– Lampard
Aug 12 '20 at 18:27