Jump to content

Group-Office / IMAP eMail - wrong date display ??!!


saxoli

Recommended Posts

Hello everyone,

 

I don´t know anything about PHP .... and so I hope anybody can help me.

 

I installed the Community Version of the Group-Software GroupOffice (http://www.group-office.com) on my Webserver.

 

Group-Office got a module for webmail (IMAP/POP3 eMail-Server). I copied my mail on my IMAP-Server.

 

There are two diffentent views form the mails, a Listview and a Detailview of the selected mail.

 

I think in the Listview there is a wrong eMaildate - It´s the date the mail saved on the server.

 

In my case there are many mails with the same date, because I copied a lot of them at the same day in the IMAP Folder.

 

The Detailview displays the right emaildate, the date of sending the mail.

 

There are two different PHP-Files, one for the listenview (messages.php) und one for the datailview (message.php).

 

I think I found the lines of each file for retrieving and displaying the dates.

 

Listenview (worng date):

 

$cell = new table_cell(date($_SESSION['GO_SESSION']['date_format'].' '.$_SESSION['GO_SESSION']['time_format'], get_time($mail->f('udate'))));

      $cell->set_attribute('style','white-space:nowrap');

      $row->add_cell($cell);

 

 

 

Detailview (right date):

 

<td><b><?php echo $strDate; ?>:</b> <?php echo date($_SESSION['GO_SESSION']['date_format'].' '.$_SESSION['GO_SESSION']['time_format'], get_time($content['udate'])); ?></td>

 

 

 

Maybe it´s the  get_time tag ?

 

I tried to put the $content at the place of the $mail at the listview, but now I get no listview anymore ;)

 

I added the two PHP-Files - Please help me ??!!

 

Thank you very much !!!!

 

 

Oli

 

PS: Sorry for my bad english

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.