Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Public IP to email details #26

Closed
Bigben83 opened this issue Apr 11, 2022 · 3 comments
Closed

Adding Public IP to email details #26

Bigben83 opened this issue Apr 11, 2022 · 3 comments

Comments

@Bigben83
Copy link

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!"

@beeyev
Copy link
Owner

beeyev commented Apr 11, 2022

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

@Bigben83
Copy link
Author

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

@beeyev
Copy link
Owner

beeyev commented Nov 25, 2023

Done!

@beeyev beeyev closed this as completed Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants