我正在使用此帖子发送使用Python发送电子邮件的信息
到目前为止,说明是完美的.我还有两件事要做:
变量将是今天的日期.就是这个:
today = datetime.datetime.today () tday = today.strftime ("%m-%d-%Y")
我知道使用mailx,您可以使用-a选项附加.
python html-email
html-email ×1
python ×1