Author Topic: Urgent: How to do for edit list of "Recipient" in internal email  (Read 3057 times)

Offline tony-montana

  • Newbie
  • *
  • Posts: 2
Hi guys,

my name is Tony, from New York.

Please!!!!! I have a problem very urgent!! I must modify the list of "Recipient" that is in the internal message. So, I need to delete all Recipient of all emails that receive in my box. When I click to the object message, open the message in the content, not in preview. In that screen, I want to cancel the view of Recipient for not view it. I want view only Object, Sender, and Date. Please, please, pleaseeee!!!!! help me!! It's very important and urgent!!!! Thanks for all!!! Tony

Please my friend! I have a expiry  :'(
« Last Edit: April 28, 2012, 08:18:05 PM by tony-montana »

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: Urgent: How to do for edit list of "Recipient" in internal email
« Reply #1 on: April 28, 2012, 09:20:23 PM »
Hi, tony!

You have to edit the used template skin for your needs.
And btw. the used version of rc would be interesting...

Rgds.

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: Urgent: How to do for edit list of "Recipient" in internal email
« Reply #2 on: April 29, 2012, 05:25:15 AM »
Take a good editor and modify the part with the field for "Recipient" inside the html code.


Rgds.

Offline thomasb

  • Newbie
  • *
  • Posts: 6
Re: Urgent: How to do for edit list of "Recipient" in internal email
« Reply #3 on: May 01, 2012, 11:32:37 AM »
If you're using the 0.8-beta version of Roundcube you should edit the following template files
  skins/<yourskinname>/templates/message.html
  skins/<yourskinname>/templates/messagepreview.html

Find the object tag for messageHeaders and add the attribute exclude="" if not yet present:
Code: [Select]
  <roundcube:object name="messageHeaders" ... exclude="from,to,cc" />
For Roundcube versions < 0.8 things are slightly more complicated and you need to alter some PHP code. Open the file program/steps/mail/func.inc and find the function rcmail_message_headers(). There you have to alter the list at $standard_headers. Should be around line 890.

To control the columns shown in the message list, you can alter the config option 'list_cols' in your local config/main.inc.php file accordingly. List columns can now still be added/removed by the user. In order to prevent that, you'd also need to set
Code: [Select]
$rcmail_config['dont_override'] = array('list_cols'); in your config file.

Offline tony-montana

  • Newbie
  • *
  • Posts: 2
Re: Urgent: How to do for edit list of "Recipient" in internal email
« Reply #4 on: May 01, 2012, 12:42:40 PM »
Thanks Thomas,

you are really nice and you solved my problem.

If you come to Italy to spend your holidays I offer you a dinner!

Sincerely. R.