Author Topic: additional_message_headers  (Read 7820 times)

Offline jasb

  • Jr. Member
  • **
  • Posts: 13
additional_message_headers
« on: October 04, 2009, 02:04:42 PM »
Hi,
I need an help putting this plugin to work!

I've enabled it on main.inc.php:
--
$rcmail_config['plugins'] = array('managesieve','password','additional_message_headers');
--

and added on main.inc.php:

--
$rcmail_config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT'];
$rcmail_config['additional_message_headers']['X-Originating-IP'] = $_SERVER['REMOTE_ADDR'];
$rcmail_config['additional_message_headers']['X-RoundCube-Server'] = $_SERVER['SERVER_ADDR'];
--

but when i send a message using RC, it doesn't add the headers.
What can be missing here?

Jorge,

Offline jasb

  • Jr. Member
  • **
  • Posts: 13
additional_message_headers
« Reply #1 on: November 23, 2009, 09:33:29 AM »
Hi People,

Anyone can give a hand on this?

Jorge,

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
additional_message_headers
« Reply #2 on: November 23, 2009, 10:16:18 AM »
It looks like you have a space in the plugin name in your plugins array.

Instead of this:

$rcmail_config['plugins'] = array('managesieve','password','additional_message _headers');

You should have this:

$rcmail_config['plugins'] = array('managesieve','password','additional_message_headers');