Jump to content
Sign in to follow this  
AlexFing17

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

Recommended Posts

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

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


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...