CLI Import Files from email attachment

QuestionsCategory: PDF Light ViewerCLI Import Files from email attachment
AvatarPEDRO H. asked 3 months ago

Hi there!
I´m look something that could get a email attachment (pdf) and upload to my wordpress site. Every week I have a file to post and this could help a lot.
How can I Upload the files from CLI? Anyone already experienced something about email attachm donwload? I’m also need something to control the files, so it will not upload the same file again.