[MlMt] CSV files sent to Gmail accounts have additional new lines
Andrew V. Jones
andrew.jones at vectorcast.com
Fri Jul 21 10:06:24 EDT 2017
Hello,
I am facing an issue where Mailmate is seemingly sending files in a way
that Gmail “misinterprets”, such that the line endings get changed
(files get sent as “ASCII text, with CRLF line terminators” and
Gmail downloads them as “ASCII text, with CRLF, CR line
terminators”).
The outcome of this is that the recipient has CSV files with empty lines
after every line of content — much to the chagrin of my colleagues!
Indeed, when I look at the “original” message in Gmail, the message
looks like this:
> Content-Type: multipart/mixed;
> boundary="=_MailMate_4A8394E7-CA84-4044-941D-99CD23C178CF_="
> X-Mailer: MailMate (1.9.6r5347)
>
> --=_MailMate_4A8394E7-CA84-4044-941D-99CD23C178CF_=
>
>
> --=_MailMate_4A8394E7-CA84-4044-941D-99CD23C178CF_=
> Content-Disposition: attachment; filename=temp.csv
> Content-Type: text/csv
> Content-Transfer-Encoding: quoted-printable
>
> abc,def
>
> 123,456
>
>
> --=_MailMate_4A8394E7-CA84-4044-941D-99CD23C178CF_=--
>
notice the additional new lines in the file.
If the file is sent natively by Gmail, the headers look like this:
> Content-Type: multipart/mixed; boundary="001a113ad7e08abf8e0554d446f6"
>
> --001a113ad7e08abf8e0554d446f6
> Content-Type: text/csv; charset="US-ASCII"; name="temp.csv"
> Content-Disposition: attachment; filename="temp.csv"
> Content-Transfer-Encoding: base64
> X-Attachment-Id: f_j5dxmnlm1
>
> YWJjLGRlZg0KMTIzLDQ1Ng0K
> --001a113ad7e08abf8e0554d446f6--
>
(not much can be derived from this, because the contents are base64
encoded).
Any thoughts/suggestions/ideas on how to resolve this?
Cheers,
Andrew
More information about the mailmate
mailing list