Emailing me my external IP address

I need acces to my local network remotely
My ISP change my wan address frequently

I want to use an ESP32 to email me my external (WAN/public) address

should not require a lot of code ?

Welcome to the forum

Maybe start by looking at Get External IP Address

Once you have the IP address then emailing it should be easy

Maybe DDNS will help you.
It tracks your floating IP, and maps it to a constant DNS name, otherwise you may be able ro pay your ISP $5// month to assign you a static address.

From your question, I’m assuming you’re running an onsite mail server, not a publicly visible server hosted elsewhere.
Typically one doesn’t send email to am IP address, you send it to a mail,server that is identified by the MX records in the publicly visible DNS records.

I saw an example on a PI
it simply send an email to a gamil account when the IP change. No dyndns or static Ip

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.