如果我使用以下代码创建电子邮件对话框并从我的iPhone发送,我的签名文本(即使为空白)将作为单独的文本文件附加。我怎样才能防止这种情况发生?
var email = Titanium.UI.createEmailDialog();
email.subject = 'My Subject';
email.toRecipients = ['you@there.com'];
email.messageBody = 'Body message.';
var file = Titanium.Filesystem.getFile('attachment.pdf');
email.addAttachment(file);
email.open();