email - Using HTML from Python Code -


i trying mail html code python. till 900 characters coming fine in mail. however, increasing characters missing of characters.

example :

#!/usr/bin/env python import os,logging,sys subprocess import popen, pipe import shutil,configparser,shlex,subprocess mail import sendmail  str="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" str+="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789" .... ... ...  sendmail(str, 'test mail') 

this sending me mail of 3014 characters although have 5100 characters in original str.

how overcome issue.

thanks, debayan


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -