[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] estrazione manuale allegati binari email



Puoi dare un occhiata qui:

https://superuser.com/questions/213563/how-can-i-extract-an-attachment-from-the-email-body-encoded-as-base64

Ciao
Fabrizio


Il giorno 17 gennaio 2018 08:36, tarqui <tarqui@aruba.it> ha scritto:
salve, è possibile estrarre manualmente un allegato da un file email e
salvarlo?
spiego
ad esempio se ho il file miamail.eml in cui compare

------=_NextPart_000_0791_01D36511.AAF7EAE0
Content-Type: application/octet-stream;
    name="nomefile.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
    filename="nomefile.pdf"

JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFu
ZyhpdC1JVCkgL1N0cnVjdFRyZWVSb290IDE5NyAwIFIvTWFya0luZm88PC9NYXJrZWQgdHJ1ZT4+
[...]
NTMyRDhDNUE+PEVBNjM4QTA2NUIxRjA4NDJBQjA2MzZBOTUzMkQ4QzVBPl0gL1ByZXYgNzY1OTM1
L1hSZWZTdG0gNzYzMTIyPj4NCnN0YXJ0eHJlZg0KNzkxMDE4DQolJUVPRg==

vorrei poter copiare questa sequenza di caratteri e da qui ricostruire
il file nomefile.pdf senza passare per un programma client email.

qualche idea? grazie.




--
Fabrizio

Reply to: