automatic emailing script (not spam)

From: jafar (jafar_at_fatcat.delicats.net)
Date: 05/25/04


Date: Tue, 25 May 2004 23:00:50 +0200

I have an interesting problem.

I have a little ftp server set up so a friend can browse the net at
college and ftp files to my computer at home to be burnt onto cd as there
isn't a burner at his college.
The problem is, I'm on a normal ADSL line with a dynamic IP so he has to
call or email me to get the new IP address if I've rebooted.
How can I automatically send him an email with the new IP address every
time I reboot?
I could easily have a script do ifconfig > test.txt ,but then what
command could send the txt file to him?

Thanks

-- 
Jafar As-Sadiq Calley
Senior 1st Officer
Livewire Airlines
http://www.livewireairlines.com/


Relevant Pages

  • Re: automatic emailing script (not spam)
    ... >I have a little ftp server set up so a friend can browse the net at ... >college and ftp files to my computer at home to be burnt onto cd as there ... >isn't a burner at his college. ... ddclient will do the automatic updates ...
    (linux.redhat)
  • Re: automatic emailing script (not spam)
    ... > college and ftp files to my computer at home to be burnt onto cd as there ... > isn't a burner at his college. ... > time I reboot? ...
    (linux.redhat)