email - Python's smtplib sendmail is inserting line feed -


i using smtplib sendmail , \n (line feed) being added there \r (carriage return).

this corrupts file use unix tnef utility. how can keep line feed being added?

thanks

email servers free change line endings iirc. various platforms.

if transmitting attachment, use suitable encoding such base64.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -