script telnet

Hello,

i connected an batterie warning system with print me the current voltage to the rs232 interface. does anybody know how i can read out the information and send it via email ? or is it possible to read them out with an automatically telnet login into a text file … ?

if you have any suggestions pls tell it me.

thx
max