Forums

No sender in comment notification email (incorrect header formatting?) (2 posts)

  1. madams
    Member
    Posted 7 years ago #

    Since upgrading to 1.5.1, my comment notification email doesn't properly show the sender of the comment in the email header. Previously, the notification email would always be "from" the commenter, but now gmail shows (unknown sender) and OS X Mail 2.0 just shows nothing.

    The headers must be misformatted somehow, since the correct info is showing up in the body of the message. The raw source looks like:

    -----------
    X-Gmail-Received: [&c, &c]
    Delivered-To: my.address@g mail
    Received: [etc, etc]
    Return-Path: <me@my.web.host>
    Received: [&c, &c]
    Received-SPF: pass [&c, &c]
    Date: Sun, 15 May 2005 06:43:56 -0700 (PDT)
    Message-Id: [&c, &c]
    Received: by my.web.host (Postfix, from userid XXX)
    id 513761141B2; Sun, 15 May 2005 13:43:56 +0000 (GMT)
    To: my.address@g mail
    Subject: [my weblog] Comment: "One of my posts"
    MIME-Version: 1.0

    From: "Commentor" <comment@comment.com>
    Content-Type: text/plain; charset="UTF-8"

    Message-Id: [&c, &c]
    Date: Sun, 15 May 2005 13:43:56 +0000 (GMT)

    New comment on your post #XX "One of my posts"

    [&c, &c]
    -----------

    Everything below "MIME-Version" appears in the subject body. Comparing it to the raw source of previous comment emails, there's an added line break between "MIME-Version" and "From" and between "Content-Type" and "Message-Id".

    I assume the missing sender info is from this misformatting in the email headers, but what's the fix?

  2. superjux
    Member
    Posted 6 years ago #

    Were you able to fix this? I'm having a similar problem where the from address is the commenter's name @ localhost or missing-host-name.

Topic Closed

This topic has been closed to new replies.

About this Topic