[imp] Displaying received and sent headers in message view.

Erik Enge eenge at prium.net
Wed Jan 15 12:08:17 PST 2003


Hi.

I'd like to display when an email was received and sent instead of just
date.  I'm running IMP 3.0.  From message.php, line 425, I see:

  if (isset($h->date))     $dat = htmlspecialchars(MIME::decode($h->date));

Is this the one that displays the date?  Is all I need to do?:

  if (isset($h->received))     $dat = htmlspecialchars(MIME::decode($h->received));
  if (isset($h->sent))     $dat = htmlspecialchars(MIME::decode($h->sent));

Thanks for any pointers,

Erik.



More information about the imp mailing list