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

c# - error executing child request for server.transfer with Handler -

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

How to read input from STDIN in x86_64 assembly? -