Skip to content

colbyzg/email_ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

email_ip

Description:

This is a very simple script I put together to email my current external (DHCP) IP address to myself. I'm using requests to pull IP info from a URL in JSON format. Then it is emailed to my GMail account using smtplib. This script runs daily via cron.

Usage:

# ./email_ip.py 
To: [email protected]
From: [email protected]
Subject: Current Home IP is: 1.1.1.1 on 07-13-2014

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages