You will need to call the function and pass the necessary variables to it, such as:
SendEMail pvTo, Null, Null, pvSubj, pvBody, fromText, pvFile
All variables need to be passed hence the 'Null' for CC and BCC, replace from text with your details if you want to sign off the e-mail...