Should I use the Reply-To header when sending emails as a service to others?

后端 未结 4 1547
醉话见心
醉话见心 2020-12-02 03:56

Suppose we have an application that acts as a middleman, allowing Company A to send reports to their customers.

Company A --> Company B (me)--> Compan

相关标签:
4条回答
  • 2020-12-02 04:24

    After reading all of this, I might just embed a hyperlink in the email body like this:

    To reply to this email, click here <a href="mailto:...">Third.Party@theirdomain.com</a>

    0 讨论(0)
  • 2020-12-02 04:26

    I tested dkarp's solution with gmail and it was filtered to spam. Use the Reply-To header instead (or in addition, although gmail apparently doesn't need it). Here's how linkedin does it:

    Sender: messages-noreply@bounce.linkedin.com
    From: John Doe via LinkedIn <member@linkedin.com>
    Reply-To: John Doe <John.Doe@gmail.com>
    To: My Name <My.Name@gmail.com>
    

    Once I switched to this format, gmail is no longer filtering my messages as spam.

    0 讨论(0)
  • 2020-12-02 04:28

    You may want to consider placing the customer's name in the From header and your address in the Sender header:

    From: Company A <joe.bloggs@a.com>
    Sender: notifications@b.com
    

    Most mailers will render this as "From notifications@b.com on behalf of Company A", which is accurate. And then a Reply-To of Company A's address won't seem out of sorts.

    From RFC 5322:

    The "From:" field specifies the author(s) of the message, that is, the mailbox(es) of the person(s) or system(s) responsible for the writing of the message. The "Sender:" field specifies the mailbox of the agent responsible for the actual transmission of the message. For example, if a secretary were to send a message for another person, the mailbox of the secretary would appear in the "Sender:" field and the mailbox of the actual author would appear in the "From:" field.

    0 讨论(0)
  • 2020-12-02 04:32

    Here is worked for me:

    Subject: SomeSubject
    From:Company B (me)
    Reply-to:Company A
    To:Company A's customers
    
    0 讨论(0)
提交回复
热议问题