+ 1

Firebase, email, files, data extraction.

I'm building an app with access a google database(firebase). I'd like to have the user be able to send an email with a specific file attached and it saves it into the database. Anyone know what the best way of approaching that would be? The reason is that I want users to be able to send a file to the app directly from their email.

27th Apr 2019, 2:24 AM
Sam Stoltenberg
Sam Stoltenberg - avatar
3 Respuestas
0
I think what you want is called an SMTP service. I think you can easily set one up easily for free with gmail, but it probably won't be as robust as you might want. Try looking up SMTP servers/services. You might find what you want with that.
27th Apr 2019, 5:16 AM
Zeke Williams
Zeke Williams - avatar
0
Would it be an IMAP rather than a SMTP, because I need to receive the file not send it. And for sending it back to my database with python requests I think I need to pay for a hosting server. Not 100% though
27th Apr 2019, 6:43 AM
Sam Stoltenberg
Sam Stoltenberg - avatar
0
IMAP is just the method that emails are retrieved and organized. But take a look at this: https://stackoverflow.com/questions/7592267/retrieving-emails-and-storing-them-in-mysql One answer mentions looking up "piping emails to python". That may be your ticket
27th Apr 2019, 2:41 PM
Zeke Williams
Zeke Williams - avatar