Send attachment as e-mail

We receive from a backup server an e-mail that contains an attachment as to any errors that might have occurred during the backup process. The attachment is just a simple text file. Does anyone know of a way to read the contents of the attachment and then forward the contents in an e-mail to a SMS phone? That way we could be notified when errors occur. Thanks.