如何解决通过ezgmail发送的电子邮件的正文部分分为几行 Pycharm中的Python 3.8
我尝试发送由Ezgmail生成的电子邮件,并在几行中收到了电子邮件正文。
这是我所做的:
import ezgmail
recipient = 'abcde@abc.com'
subject = 'Attention: email is generated by Ezgmail.'
body = 'This is a testing email generated by Ezgmail on Pycharm under Python 3.8,however the body part is separated into multiple lines whilst the whole part is a single string.'
ezgmail.send(recipient,subject,body)
我收到的电子邮件正文不是应该长的句子,而是如下所示:
This is a testing email generated by Ezgmail on Pycharm
under Python 3.8,however the body part is
separated into multiple lines whilst the whole part
is a single string.
那么,如何使身体部位变长呢? 是因为Ezgmail将电子邮件正文的每一行都限制为特定长度吗? 谢谢你们。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。