If you use "Plain Text" email form and record IP, you'll get this:
Notice the "Submitted by.." line appends itself to the last line in my email template. The simple fix is this:
Change this:
To this:
This shouldn't cause any bad side effects for HTML formatted emails either.
Name: Bill
Email: [email]blah@example.comSubmitted[/email] by 127.0.0.1
Notice the "Submitted by.." line appends itself to the last line in my email template. The simple fix is this:
Change this:
$email_body .= "Submitted by ".$_SERVER['REMOTE_ADDR'];
To this:
$email_body .= "\nSubmitted by ".$_SERVER['REMOTE_ADDR'];
This shouldn't cause any bad side effects for HTML formatted emails either.