Answer the question
In order to leave comments, you need to log in
Is it possible to send an external ip address to an e-mail via a bat script?
Greetings!
Tell me, is it possible to send an ip address to your e-mail using cmd / bat? If it is possible that interests an example.
Maybe there are ready-made scripts or examples.
Answer the question
In order to leave comments, you need to log in
Can. There are plenty of console smtp clients. But you need a mail server that will accept a request from a remote server, and that's another matter.
Can.
Only you first need to find out this external address, and then send it by mail.
Both of these tasks cannot be solved by means that are in cmd by default.
But if you use not cmd, but WSH (the same is in Windows by default, JScript / VBS) or posh, then this will make the task easier and it will already be possible to solve it without resorting to third-party tools.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question