Hi, I am using android sdk 1.7.2, Here when I send my email to the client by using emaildialog box those are sended. If I am clicking the Draft or SaveDraft button to cancel my email, simply my application crashed. Can any one please help me in this.. Here is my snippet:
emailDialog.setSubject('My application Reports'); emailDialog.setToRecipients(['abc.xyz@gmail.com']); emailDialog.setMessageBody('<b>Dear customer<b>, <br><br>Please find the attached report file for checklisted categories from list. <br><br><br>Thanks'); emailDialog.setHtml(true); emailDialog.barColor = '#336699'; var objAttachFile = Titanium.Filesystem.getFile('file:///data/data/com.chp.Myfile/app_appdata/export.csv'); emailDialog.addAttachment(objAttachFile);Thanks in Advance..
Your Answer
Think you can help? Login to answer this question!