EmailAttachment.LoadFromFile
From Xojo Documentation
Method
Attaches the passed File.
Notes
Set the MIMEType for the attachment after loading the file.
Example
This example specifies an attachment file by taking the contents of a TextField.