On 22/05/22 at 03:30, Marcelo Laia wrote: > On 21/05/22 at 04:09, Marcelo Laia wrote: > > Nowadays, email recipients had give me feedback that attached files that > > I sent was corrupted. I use Mutt + msmtp + offlineimap and OAuth GMail > > app implementation. > > After more tests, I found that if I use the mutt native smtp, attach is > properly transmitted. I could open it very well! > > So, I think there is a problem with msmtp or its configuration.
No. Isn't msmtp problems. > This is only changes I do to get all works very well! I did more tests and found: If I send a message using tee >(lbdb-fetchaddr -a)|/usr/bin/msmtp -a gmail $@ the attached file with embedded image got corrupted The same result is got with tee >(lbdb-fetchaddr -a -c utf8) If I send a message using /usr/bin/msmtp -a gmail $@ the attached file with embedded image got loaded correctly. Have you some clue, here? Thank you so much! -- Marcelo