Heres the deal - I dial into my ISP, and get allocated a random IP
address, ie. I do not have a static IP, and cannot obtain one with my
current ISP.

What I would like to do, is on dialing in, pipe my ifconfig ppp0 to a
file, and mail that to my work address as follows:

ifconfig ppp0 > ipaddy
mail -s IP [EMAIL PROTECTED] < ipaddy

Doing this, according to my sendmail logs, generates a Data Format
Error. Any way I can achieve this using the above approach, or is there a
better alternative I am not aware of?

Cheers,
 Corey Popelier
 http://members.dingoblue.net.au/~pancreas
 Work Email: [EMAIL PROTECTED]

Reply via email to