[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

File corruption after transmission over GMail using mutt + msmtp



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.

Here is headers I got from echo@xxxxxxx.xxxx.xx:

From: Marcelo <xxxxxxxxx@gmail.com>
To: echo <echo@xxxxx.xxxxx.xx>
Date: Fri, 20 May 2022 12:35:49 -0300
Subject: Test 7
 
[-- Anexo No.1 --]
[-- Tipo: text/plain, Codificação: 7bit, Tamanho: 0K --]
 
 
[-- Anexo No.2: TCC-v3.docx --]
[-- Tipo: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Codificação:
base64, Tamanho: 71K --]
 
[-- application/vnd.openxmlformats-officedocument.wordprocessingml.document não é aceito (use
'v' para ver esta parte) --]

And here is Attached View (after v in mutt page index)

I     1 <no description>                                    [text/plain, 7bit, us-ascii, 0K]
A     2 TCC-v3.docx                           [applica/vnd.openxm, base64, 71K]

And here [1] is the Attached file that are stored in GMail sent box.

My muttrc have this:

set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"

I already tried this, also:

set use_8bitmime

or

set use_8bitmime    = yes

$ uname -a
$ Linux marcelo 5.17.0-1-amd64 #1 SMP PREEMPT Debian 5.17.3-1 (2022-04-18) x86_64 GNU/Linux

$ mutt -v
Mutt 2.2.4 (2022-04-30)
System: Linux 5.17.0-1-amd64 (x86_64)
ncurses: ncurses 6.3.20220423 (compiled with 6.3)
libidn2: 2.3.2 (compiled with 2.3.2)
hcache backend: tokyocabinet 1.4.48

$ msmtp --version
msmtp versão 1.8.16

Have you some clue to point me out?

[1] https://www.dropbox.com/s/mnomo19xgiisoyq/TCC-v3.docx?dl=0

-- 
Marcelo


Reply to: