DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: SOLVED: Run commands on computer remotely via email  (Read 10,779 times)

dragonmage

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 21
SOLVED: Run commands on computer remotely via email
« on: January 05, 2010, 06:04 PM »
Here's an idea someone might like to try.

Picture a small POP email checker (maybe IMAP), that will look for a specific sender (your mobile maybe) and will execute predefined commands depending on the subject of the email. You could even have it check the body of the mail for extra parameters.

The app would have a list of aliases that correspond to commands.

Play="C:\Program Files\Windows Media Player\wmplayer.exe"

So an email with
Subject: Play
with a Body of "myplaylist.wpl"

would run "C:\Program Files\Windows Media Player\wmplayer.exe" "myplaylist.wpl"

Just an example I'm sure some of you could come up with more useful or more geeky examples ;)

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: SOLVED: Run commands on computer remotely via email
« Reply #1 on: January 05, 2010, 10:56 PM »
Already existing software you could take a look at:
GetByMail
ControlPC  (could not find a link, but have an old setup file)

Another possible piece of software with less options:
TweetMyPC
The easy path is usually downhill...

VictorM

  • Participant
  • Joined in 2009
  • *
  • Posts: 16
Re: SOLVED: Run commands on computer remotely via email
« Reply #2 on: January 07, 2010, 11:14 AM »
easy to script in bash on Linux, too.
When in doubt, use Google

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: SOLVED: Run commands on computer remotely via email
« Reply #3 on: February 02, 2010, 11:23 PM »
Isn't this what your average script kiddy is trying to achieve, sending you email with a link of a pretty/nude girl? :-[
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

Original address: https://www.donationcoder.com/forum/index.php?topic=21293.0