Mikrotik-RouterOS-automatic-backup-and-update icon indicating copy to clipboard operation
Mikrotik-RouterOS-automatic-backup-and-update copied to clipboard

Adding Public IP to email details

Open Bigben83 opened this issue 2 years ago • 2 comments

Hi how easy would it be to add the current Public IP address to the email that is sent out.

http://ifconfig.co/ip gives the Public IP Address

Something like the below ?? :local fetchdata [/tool fetch url="http://ifconfig.co/ip" output=user] :local extip ($fetchdata->"data") :local extip [ :pick [ :tostr "$extip" ] 0 [ :find "$extip" " " ] ] "IP updated to $extip!"

Bigben83 avatar Apr 11 '22 07:04 Bigben83

Hello, are you talking about this repo? https://github.com/beeyev/Mikrotik-Duckdns-Dynamic-IP-Updater

beeyev avatar Apr 11 '22 07:04 beeyev

Not really, just wanted it in the body of the email for reference if ever needed.

Bigben83 avatar Apr 11 '22 22:04 Bigben83

Done!

beeyev avatar Nov 25 '23 13:11 beeyev