The Drupal\x_originating_ip\XOriginatingIpSettings class is unused, so it doesn't need to be in the codebase.

CommentFileSizeAuthor
#2 x_originating_ip-n3177820-2.patch1.61 KBdamienmckenna

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new1.61 KB

This should cover it.

shrop’s picture

Status: Needs review » Reviewed & tested by the community

Tested after applying the patch.

  • Was able to change module settings
  • Was able to see the X-Originating-IP in the email header (see below)
Content-Transfer-Encoding 	
8Bit
Content-Type 	
text/plain; charset=UTF-8; format=flowed; delsp=yes
From 	
Drupal8 <admin@example.com>
MIME-Version 	
1.0
Message-ID 	
Hev9CJrgES5VEZrXK32f2nIp58vb9wKaAxA-mMz7Mbk=@mailhog.example
Received 	
from localhost by mailhog.example (MailHog) id Hev9CJrgES5VEZrXK32f2nIp58vb9wKaAxA-mMz7Mbk=@mailhog.example; Tue, 20 Oct 2020 01:43:44 +0000
Reply-to 	
admin@example.com
Return-Path 	
<admin@example.com>
Sender 	
admin@example.com
Subject 	
An administrator created an account for you at Drupal8
To 	
test@test.com
X-Mailer 	
Drupal
X-Originating-IP 	
172.18.0.6
X-PHP-Originating-Script 	
501:PhpMail.php

  • shrop committed d16be21 on 8.x-1.x authored by DamienMcKenna
    Issue #3177820 by DamienMcKenna: Remove redundant XOriginatingIpSettings...
shrop’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Will get this in the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.