i create a log file as an output of my application...it is a pure text file.. what i need to do is send a e-mail with either 1) this log file as an attachment or 2) put the content of the text file in the body of the out put.. suggest me any resource where I can find more about it..