WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] Full Mail Header – Orig IP not Displaying

[Resolved] Full Mail Header – Orig IP not Displaying

  • I use WordPress (twenty ten), and Contact Form 7 – mostly without issue and appreciate the plugins.

    I noted today that my usual header information (primarily orig IP address) is not included with messages sent through my CF7.

    It appears somehow the PHP mail is going through the WP PHP mail instead of CF 7 – although the public features and functionality of CF 7 are still working

    I see this: X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)

    Instead of This: X-PHP-Script: http://www.domain_name.com/index.php for 24.242.424.24 ?

    (I previously have used the short codes for the _remote_ip but prefer not to – rather to source the originating ip via the mail header –

    Any guidance greatly appreciated. Thank you.

    https://wordpress.org/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)

    This is the expected output. Contact Form 7 calls wp_mail(), and wp_mail() uses the PHPMailer class. It’s perfectly normal.

    thank you Takayuki Miyoshi – i really appreciate the quick reply. For clarity if I may:

    Previous messages were coming with the X-PHP-Script and with originating IP address – a more full header…All that I receive now is as below (ive modified the address names). Would this be the expected or normal property for the mail headers? No Originating or remote IP?

    Return-path: <user24@thehostdomainname.com>
    Envelope-to: jim@thedomainname.com
    Delivery-date: Thu, 03 Jul 2014 02:49:20 -0400
    Received: from User24 by servernumber.inmotionhosting.com with local (Exim 4.82)
    (envelope-from <user24@hostserver.hostingcompany.com>)
    id 1X2apc-0006Od-KY
    for user@thedomainname.com; Thu, 03 Jul 2014 02:49:20 -0400
    To: user@thedomainname.com
    Subject: Sample Subject
    Date: Thu, 3 Jul 2014 06:49:20 +0000
    From: Friend <info@anotherdomain.com>
    Message-ID: <0c05aa2e1af2320fc5deab1880f38efe@www.thedomainname.com>
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-Brightmail-Tracker: AAAAAA==
    X-Brightmail-Tracker: AAAAAA==

    thank you again.

    Plugin Author Takayuki Miyoshi

    @takayukister

    You’d better not expose mail header containing real mail addresses here. But, yes, it looks normal.

    If you just want to get sender’s IP address, you can use [_remote_ip].

    See Special Mail Tags

    thank you i appreciate your help : ) (not real addresses – just made up)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Full Mail Header – Orig IP not Displaying’ is closed to new replies.
Skip to toolbar