You will need to use message headers to add the information.

Immediately after the "DATA" and before you enter the blank line, issue the fields:
code:
From: Display_From_Name <from@address>
To: Display_To_Name <to@address>
Subject: Subject_Line

Your blank line seperated the mail headers from the actual message.

There are loads of headers for return receipts, MIME encoding and so-on.