电子邮件发件人作为姓名而不仅仅是电子邮件地址

Email sender as name not only email address

我过去使用以下方式发送电子邮件通知:

    mail_host = api.portal.get_tool(name='MailHost')
    mail_host.simple_send(
        mto=email, mfrom=mfrom, subject=subject,
        body=mail_text, immediate=True)

哪里

     mfrom = 'my_email_address@foo.bar'

发送电子邮件时,我希望显示 Organization Name 而不是我在 Plone 发送的其他(默认)电子邮件通知中看到的电子邮件地址。如何设置?

mfrom = "Organization Name <my_email_address@foo.bar>"

我在这里找到它:https://github.com/zopefoundation/Products.MailHost/blob/master/src/Products/MailHost/tests/testMailHost.py#L297