If you edit includes/modules/pages/contact_us/header_php.php, you can at least get the subject to be listed in the email you receive. I'd still like the subject to appear in the email subject line, because it's easier to sort through emails that way, but whatever, at least I can see what the subject is now.
Ok, first go to admin/includes/languages/english/email_extras.php and find this (should be right near the top):
Code:
define('OFFICE_EMAIL','E-mail:');
Add this below it:
Code:
define('OFFICE_SUBJECT','Subject:');
Then go to includes/modules/pages/contact_us/header_php.php. Go to line 50 or so and find this:
Code:
// Prepare Text-only portion of message
$text_message = OFFICE_FROM . "\t" . $name . "\n" .
OFFICE_EMAIL . "\t" . $email_address . "\n\n" .
Replace with this:
Code:
// Prepare Text-only portion of message
$text_message = OFFICE_FROM . "\t" . $name . "\n" .
OFFICE_EMAIL . "\t" . $email_address . "\n" .
OFFICE_SUBJECT . "\t" . $subject . "\n\n" .
You're really just changing part of the OFFICE_EMAIL line, and adding a line below it for the subject. (I didn't edit the HTML message options because I receive text-only emails).
That should get the emails you receive to now list the subject within the body of the email!
Bookmarks