Page 1 of 1

Email with ESP32 on occurrence

Posted: Sun Dec 12, 2021 5:33 pm
by MJU20
Has anyone ever send an email with an ESP32 by means of Flowcode?

Long time ago I've made something with Flowcode that sends data to a (I think PHP-script), on a server that forwarded the (preconfigured) mail to a preconfigured recipient.
But isn't there a way to make a Flowcode chart that makes an ESP send a mail straight to a recipient?

I know that SMTP is something else then HTTP, but maybe someone has looked into this already.

Ideally this flowchart sends mail by variables for the message (or a part of it), to a recipient that is stored in a variable.

Is this even been done?

Re: Email with ESP32 on occurrence

Posted: Mon Dec 13, 2021 10:11 am
by BenR
Hello,

Yes it should be possible, if you refer to page 67 of this document then it should show you the details you need.
https://www.matrixtsl.com/resources/fil ... ternet.pdf

We could potentially create a component to do it if that would be useful.

Re: Email with ESP32 on occurrence

Posted: Mon Dec 13, 2021 5:17 pm
by MJU20
Hey BenR,

Thanks for the quick response.
By chance I had printed the PDF yesterday. I will start reading in it to get my skills back where the were (long time ago).

But: a component would be nice.
This is something that everybody could use for ever and ever.
This would be a great addition to Flowcode.

Re: Email with ESP32 on occurrence

Posted: Wed Jan 26, 2022 12:26 am
by MJU20
Any news on a component to send mail (as suggested)?

Would be appreciated.

Re: Email with ESP32 on occurrence

Posted: Wed Jan 26, 2022 10:53 am
by BenR
Hello,

I've thought about it but at the moment I really don't have a lot of time to dive in and do it. Hopefully I will be able to have a crack at it soon.

Have you managed to make any progress on doing the code? If we can start the component based on working code then that will hopefully speed things up a lot.

Re: Email with ESP32 on occurrence

Posted: Wed Jan 26, 2022 5:27 pm
by MJU20
Hi BenR,

I stopped reading the Matrix TCP/IP tutorial as soon as you said you would dive into this item.
Then I started the Thingspeak project.

Maybe I will look further in it in the future.