Move file upload into SMTP send job.

- This adds params for the upload URL and local file path, so that the
actual upload can happen in the send job.
- This also moves the URL generation to the client side so that we can
  generate a valid URL before the upload (because the MIME rendering of
  the mail message happens earlier and we want to include the URL there)
This commit is contained in:
Franz Heinzmann (Frando)
2020-06-10 12:34:51 +02:00
parent 060492afe8
commit 7d2105dbc9
6 changed files with 133 additions and 50 deletions

View File

@@ -7,6 +7,7 @@
"start": "node server.js"
},
"dependencies": {
"base32": "^0.0.6",
"express": "^4.17.1"
}
}