AlexFing17

How Can I get my external Ip from url and send to my email

3 posts in this topic

#1 ·  Posted (edited)

Have been trying my best to find out how  I can get my external Ip from a url (http://www.icanhazip.com) and send it to my gmail address.

Is there a script that can do that please.

Edited by AlexFing17

Share this post


Link to post
Share on other sites



#2 ·  Posted

@AlexFing17 a quick search of the forum or help file would have turned up the _GetIP function, which will do what you're after.

#include <Inet.au3>

ConsoleWrite(_GetIP() & @CRLF)

There are also a number of topic regarding sending email that you can review:

https://www.google.com/#q=site:autoitscript.com+send+gmail

I would suggest reading through these, and trying out some of the suggestions. If you get stuck, post your code here and we will do our best to assist.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted

7 hours ago, JLogan3o13 said:

@AlexFing17 a quick search of the forum or help file would have turned up the _GetIP function, which will do what you're after.

#include <Inet.au3>

ConsoleWrite(_GetIP() & @CRLF)

There are also a number of topic regarding sending email that you can review:

https://www.google.com/#q=site:autoitscript.com+send+gmail

I would suggest reading through these, and trying out some of the suggestions. If you get stuck, post your code here and we will do our best to assist.

ok I will try that out. Thanks 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now