I would like to do the following:
Write a script / program to get the public IP address that I'm using
Send this IP address by using SMTP to specific e-mail address
It will be great if you can provide a full sample code. Thank you very much.