PHP Webmail IMAP
tom
-
tom -
tom -
Bonjour,
je suis en train de réaliser un webmail php pour serveur imap.
le problème, c'est que quand j'affiche les "headers", et bien c'est pas très propre comme resultat
enfin, vous comprendrez mieux en voyant le code, mais bon voila
si qqun a une idée
merci d'avance
je suis en train de réaliser un webmail php pour serveur imap.
le problème, c'est que quand j'affiche les "headers", et bien c'est pas très propre comme resultat
enfin, vous comprendrez mieux en voyant le code, mais bon voila
si qqun a une idée
<table align="center" width="100%" border="0" cellpadding="0" cellspacing="0"> <?php $inbox_msg = $inbox_msg_all+1 ; for($inboxi=1; $inboxi <= 50; $inboxi++){ $inbox_headerinfo = imap_headerinfo($inbox, $inbox_msg-$inboxi); if ($inbox_headerinfo->Unseen == U) { $imap_mail = "mail_close.png"; } else { if ($inbox_headerinfo->Recent == N) { $imap_mail = "mail_close.png"; } else { $imap_mail = "mail_open.png"; } } if ($inboxi%2 == 0) { $mail_background = "#000000"; } else { $mail_background = "#101010"; } echo " <tr style='background: ".$mail_background."'> <td align='left' valign='middle'><input type='checkbox' /> </td> <td align='left' valign='middle'><img src='lib/img/".$imap_mail."' /> </td> <td align='left' valign='middle'>".date("d/m/Y - G:i", strtotime($inbox_headerinfo->date) )." </td> <td align='left' valign='middle'><a class='mail_from' href='' title='".$inbox_headerinfo->from[0]->personal."<".$inbox_headerinfo->from[0]->mailbox."@".$inbox_headerinfo->from[0]->host.">'>".$inbox_headerinfo->from[0]->personal."</a></td> </td> </tr> "; } ?> </table>
merci d'avance
A voir également:
- PHP Webmail IMAP
- Webmail free - Guide
- Easy php - Télécharger - Divers Web & Internet
- Imap hotmail - Guide
- Alice webmail - Forum autres boîtes mail
- Numericable webmail - Forum Mail