Open-Capture Forums Open-Capture : paramétrage Récupération PDF Mail Répondre à : Récupération PDF Mail

#1552
Thomas Aubé
Participant

<p style= »text-align: left; »>Bonjour,</p>
voici les logs suite à un test  :

root@debian11:/var/www/html/opencaptureforinvoices/bin/data/MailCollect# cat MAIL_1/20220814/BATCH_20220814_131240776077_6bcofh6p/20220814_131240776077.log
[Open-Capture ] [launch_worker_mail.py line 133] 14-08-2022 13:12:40 INFO Start following batch : BATCH_20220814_131240776077_6bcofh6p
[Open-Capture ] [launch_worker_mail.py line 134] 14-08-2022 13:12:40 INFO Action after processing e-mail is : move
[Open-Capture ] [launch_worker_mail.py line 135] 14-08-2022 13:12:40 INFO Number of e-mail to process : 5
[Open-Capture ] [launch_worker_mail.py line 142] 14-08-2022 13:12:40 INFO Start to process only attachments
[Open-Capture ] [launch_worker_mail.py line 143] 14-08-2022 13:12:40 INFO Process e-mail n°1/5
[Open-Capture ] [launch_worker_mail.py line 145] 14-08-2022 13:12:40 INFO Found 5 attachments
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:40 INFO Attachment n°1 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:40 INFO Attachment n°2 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:40 INFO Attachment n°3 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:40 INFO Attachment n°4 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:40 INFO Attachment n°5 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 199] 14-08-2022 13:12:40 INFO Move mail into archive folder : Lu
[Open-Capture ] [launch_worker_mail.py line 142] 14-08-2022 13:12:41 INFO Start to process only attachments
[Open-Capture ] [launch_worker_mail.py line 143] 14-08-2022 13:12:41 INFO Process e-mail n°2/5
[Open-Capture ] [launch_worker_mail.py line 145] 14-08-2022 13:12:41 INFO Found 5 attachments
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:41 INFO Attachment n°1 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:41 INFO Attachment n°2 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:41 INFO Attachment n°3 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:41 INFO Attachment n°4 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:41 INFO Attachment n°5 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 199] 14-08-2022 13:12:41 INFO Move mail into archive folder : Lu
[Open-Capture ] [launch_worker_mail.py line 142] 14-08-2022 13:12:42 INFO Start to process only attachments
[Open-Capture ] [launch_worker_mail.py line 143] 14-08-2022 13:12:42 INFO Process e-mail n°3/5
[Open-Capture ] [launch_worker_mail.py line 145] 14-08-2022 13:12:42 INFO Found 5 attachments
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°1 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°2 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°3 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°4 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°5 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 199] 14-08-2022 13:12:42 INFO Move mail into archive folder : Lu
[Open-Capture ] [launch_worker_mail.py line 142] 14-08-2022 13:12:42 INFO Start to process only attachments
[Open-Capture ] [launch_worker_mail.py line 143] 14-08-2022 13:12:42 INFO Process e-mail n°4/5
[Open-Capture ] [launch_worker_mail.py line 145] 14-08-2022 13:12:42 INFO Found 6 attachments
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°1 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°2 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°3 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°4 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 190] 14-08-2022 13:12:42 INFO Attachment n°5 is not a PDF file
[Open-Capture ] [launch_worker_mail.py line 199] 14-08-2022 13:12:42 INFO Move mail into archive folder : Lu
[Open-Capture ] [launch_worker_mail.py line 142] 14-08-2022 13:12:43 INFO Start to process only attachments
[Open-Capture ] [launch_worker_mail.py line 143] 14-08-2022 13:12:43 INFO Process e-mail n°5/5
[Open-Capture ] [launch_worker_mail.py line 193] 14-08-2022 13:12:43 INFO No attachments found
[Open-Capture ] [launch_worker_mail.py line 199] 14-08-2022 13:12:43 INFO Move mail into archive folder : Lu

 

Le mail possède bien un PDF et est bien retransféré vers le bon dossier, hors je ne vois aucun document apparaitre en HTTP

 

Cordialement