Need help to modify code viewmail.php
eric.le.corre at voila.fr
eric.le.corre at voila.fr
Fri Jan 25 14:33:07 GMT 2013
i this code, after
$structure = Mail_mimeDecode::decode($params);
$mime_struct = Mail_mimeDecode::getMimeNumbers($structure);
i did
echo $structure;
echo $mime_struct;
echo $file;
the result dor $file is : i can see the email
the result for $mime_struc is : "array"
the result for $structure is : nothing, no data
so Mail_mimeDecode seems dont work !
> Message du 25/01/13 à 13h30
> De : eric.le.corre at voila.fr
> A : "MailScanner discussion"
> Copie à :
> Objet : Need help to modify code viewmail.php
>
> Hello,
>
> I can t see emails in mailwatch about this error :
> Non-static method Mail_mimeDecode::decode() should not be called statically in /var/www/mailscanner/viewpart.php on line 90
> Non-static method Mail_mimeDecode::getMimeNumbers() should not be called statically in /var/www/mailscanner/viewpart.php on line 91
>
> So, i tred unable E-STRICT but this method is not better
>
> so, the best way is change this code not compatible with php5, i need some help :
>
> ----------------------------------------------------------------------------
> $params['include_bodies'] = false;
> $params['decode_bodies'] = true;
> $params['decode_headers'] = true;
> $params['input'] = $file;
>
> $structure = Mail_mimeDecode::decode($params);
> $mime_struct = Mail_mimeDecode::getMimeNumbers($structure);
> -----------------------------------------------------------------------------------
> the full code of viewmail.php is here : http://www.phpkode.com/source/p/mailwatch-for-mailscanner/mailwatch-1.0.5/mailscanner/viewmail.php
>
> ___________________________________________________________
> Ils nous ont quittés en 2012. Voir le diaporama de nos chers disparus sur Voila.fr http://people.voila.fr/people/mediatheque/dossiers/ils-nous-ont-quittes-en-2012/
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
___________________________________________________________
Ils nous ont quittés en 2012. Voir le diaporama de nos chers disparus sur Voila.fr http://people.voila.fr/people/mediatheque/dossiers/ils-nous-ont-quittes-en-2012/
More information about the MailScanner
mailing list