Email with ESP32 on occurrence

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 244
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Email with ESP32 on occurrence

Post 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?

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Email with ESP32 on occurrence

Post 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.

MJU20
Posts: 244
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Email with ESP32 on occurrence

Post 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.

MJU20
Posts: 244
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Email with ESP32 on occurrence

Post by MJU20 »

Any news on a component to send mail (as suggested)?

Would be appreciated.

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Email with ESP32 on occurrence

Post 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.

MJU20
Posts: 244
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Email with ESP32 on occurrence

Post 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.

Post Reply