It seems yesterday's code workaround didn't work with the older messages for
some reason, albeit it did work with all of my attempts. So I discarded it and
I had to come out with another try. And here it is.
This seems to do the trick right now (program/steps/mail/compose.inc):
$MESSAGE['headers'] = &$IMAP->get_headers( $msg_uid );
$MESSAGE['structure'] = &$IMAP->get_structure($msg_uid);
if ( empty ($MESSAGE['headers']) || $MESSAGE['headers']->from == '' ) {
while ( list ( $key , $val ) = each
($MESSAGE['structure']->headers ) ) {
$MESSAGE['headers']->${key} = $val;
}
}
It's getting rather frustrating.
I'll let you know in case I can ever manage to trace this back to the
primitive functions.
Cordialità / Best regards / Gxis la
------------------------------------------------------------------------
Manuel Giorgini <[EMAIL PROTECTED]>, Programmatore
INTERLOGICA e-business solutions - http://www.interlogica.net
Via Fusinato, 27 - IT 30171 Mestre VE - Italia - Unione Europea
Tel +39 041 099 30 00 (6 linee r.a.) - Fax +39 041 504 11 72
------------------------------------------------------------------------
_______________________________________________
List info: http://lists.roundcube.net/users/