From: Leandro Lucarella Date: Wed, 28 Sep 2005 03:24:43 +0000 (+0000) Subject: Bugfix (se corrige bien el bug del from). X-Git-Tag: svn_import~1 X-Git-Url: https://git.llucax.com/software/sercom-old.git/commitdiff_plain/8e949891107590587768049e87d74676864c6119?ds=inline Bugfix (se corrige bien el bug del from). --- diff --git a/src/sc_fetch b/src/sc_fetch index 7b82bf9..0d63fde 100755 --- a/src/sc_fetch +++ b/src/sc_fetch @@ -90,7 +90,7 @@ while (1) { $mbox_errcount = 0; logs('Conectado como '.@$mconf['user']." a $mailbox", DEBUG); if (imap_num_msg($mbox) and $hdr = imap_headerinfo($mbox, 1)) { - logs(sprintf("Nuevo mail '%s' de %s", decode_header($hdr->subject), decode_header($hdr->from))); + logs(sprintf("Nuevo mail '%s' de %s", decode_header($hdr->subject), decode_header($hdr->fromaddress))); @list($padron, $ej, $ent, $codigo) = validar_cabecera($hdr); if ($padron) { logs('Cabecera vĂ¡lida', DEBUG);