saxoli Posted October 26, 2007 Share Posted October 26, 2007 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] Quote Link to comment https://forums.phpfreaks.com/topic/74908-group-office-imap-email-wrong-date-display/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.