Support » Plugin: Contact Form 7 » Full Mail Header – Orig IP not Displaying

  • Resolved jimii


    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 (

    Instead of This: X-PHP-Script: 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.

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


    X-Mailer: PHPMailer 5.2.7 (

    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: <>
    Delivery-date: Thu, 03 Jul 2014 02:49:20 -0400
    Received: from User24 by with local (Exim 4.82)
    (envelope-from <>)
    id 1X2apc-0006Od-KY
    for; Thu, 03 Jul 2014 02:49:20 -0400
    Subject: Sample Subject
    Date: Thu, 3 Jul 2014 06:49:20 +0000
    From: Friend <>
    Message-ID: <>
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (
    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


    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 ‘Full Mail Header – Orig IP not Displaying’ is closed to new replies.