I'm attaching a text file to my email. But, the data is just displayed in the body of the email. Is the a way to make this file a true attachment to the email?
can you post your code?
I believe you are trying to do a mime attachment. I haven't seen an example of that yet.
var emailDialog = Titanium.UI.createEmailDialog(); emailDialog.subject = "Hello from Titanium"; emailDialog.toRecipients = ['email@example.com']; emailDialog.messageBody = '<b>Appcelerator Titanium Rocks!</b>'; var f = Ti.Filesystem.getFile('cricket.wav'); emailDialog.addAttachment(f); emailDialog.open();