Propaganda Posted February 2, 2016 Share Posted February 2, 2016 (edited) hello, I have a script that send me an email with my external IP at home. In this email, I have a HTTP link to access my router. I would like to have also a link that when I click on it, it open automatically RDP with the external ip on it. Here is my code: #comments-start This program send me an email at work with my home IP #comments-end #include <Inet.au3> #include <MsgBoxConstants.au3> Local $sPublicIP = _GetIP() Local $s_SmtpServer = "SMTPServerName" Local $s_FromName = "Home_to_Job" Local $s_FromAddress = "MyHomeEmail" Local $s_ToAddress = "MyWorkEmail" Local $s_Subject = "My Home IP" Local $as_Body[6] $as_Body[0] = "My home IP is: " & $sPublicIP $as_Body[1] = "" $as_Body[2] = "" $as_Body[3] = "Link to my router DLINK = http://" & $sPublicIP & ":8081" $as_Body[4] = "" $as_Body[5] = "" Local $Response = _INetSmtpMail($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body) Thanks for any help Edited February 2, 2016 by JLogan3o13 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 2, 2016 Moderators Share Posted February 2, 2016 Moved to the appropriate forum and added code tags. "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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now