• I’m glad there is validation that will help everyone out and get mail delivered, but the message on the from field “This email address does not belong to the same domain as the site.” is wrong.

    According to 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.

    In all cases, the “From:” field SHOULD NOT contain any mailbox that does not belong to the author(s) of the message.

    I would suggest adding an optional Sender header that would use the From header if the Sender header is blank. Then we can use the Sender header to add an email from our server to send from and keep the From header up to spec.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • I had 2 errors, senders address and subject.
    The subject was resolved by having a couple of letters pre the subject shortcode-> DP: [your-subject]
    In the subject the DP: relates to the website as we have a couple.

    For the senders email, it simply relates to the domain the website is on. For this we simply put in a fictitious email that related to the website domain. There is in reality no such email address but the purpose is to show what website the email is sent from. We could set up an email for the domain, but it works without it – no configuration error.

    We had in the additional headers field: Reply-To: [your-email]

    This does not work and the author may be able to spread more light on this hopefully.

Viewing 1 replies (of 1 total)
  • The topic ‘Validation on From field is wrong’ is closed to new replies.