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
Post a Comment