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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.