in reply to File I/O question

Better than fixing your missing line would be to use one of the perl modules that'll format the email body for you and send it out to the SMTP server according to the RFC.

ESC[78;89;13p ESC[110;121;13p