I am using the following module in my Access database:
Public Function SendTextFile(strpath, strTableName, strRecipient, strSubject)
Dim myOlApp As Object, myItem As Object, myAttachments As Object
Dim MyPath As String, MyName As String
'First, export the text file using a saved Export...