Send email straight from microcontroller?

Hi! This is my first time posting, so hopefully everything makes sense.

Right now, I have a really complicated data pipeline that starts with particle API's webhooks and ends with sending a csv file to an email account. I think that we would have a much easier time if I sent the whole dataset as a csv once a day so that then I'm not going to be using as much cellular data. That got me thinking about if it were possible to bypass the webhook and create a function that could send an email of a csv file on an SD card straight from the boron?

Has anyone had luck attempting something like this before?

It's theoretically possible, but not recommended.

Most email servers now require authentication and TLS/SSL encrypted SMTP. Since the Boron does not natively support either, this will be more difficult. Also, each TLS encrypted connection may use up to 6K of data just for the encryption setup, not counting the payload.

1 Like

That makes sense, thank you for the help! I saw on some other forums the recommended mechanism for sending a large file as a txt/csv stored on a sd card from the particle to a cloud storage platform - do you have any particular recommendations with how to proceed with that?