emails-html-to-pdf icon indicating copy to clipboard operation
emails-html-to-pdf copied to clipboard

Store Documents locally

Open mirisbowring opened this issue 3 years ago • 3 comments

Hi,

would it be possible to add an option to store the converted PDFs locally instead of sending them via SMTP again? I deployed this container in my Paperlass Compose stack and would like to store the documents directly in the import folder (shared folder) for paperless.

Alternatively we could post the document directly to the paperless api.

mirisbowring avatar Sep 27 '21 15:09 mirisbowring

I like the paperless API idea.

smseidl avatar Sep 28 '21 12:09 smseidl

I also really like the API idea. I'll take a read of the paperless docs in the coming days.

Saving to disk would also be easy, I'm happy to implement that too.

rob-luke avatar Sep 28 '21 12:09 rob-luke

Ok note to self, here is the docs for the relevant api

https://paperless-ng.readthedocs.io/en/latest/api.html#posting-documents

rob-luke avatar Sep 30 '21 06:09 rob-luke