问题描述
此应用程序用于通过填充名称,地址和电子邮件发送报价,然后用户最多可以拍摄6张图像,然后通过提交这些信息以及通过电子邮件发送>
她是附件的一部分:
messageBodyPart = new MimeBodyPart();
String filename = "address of the image that stored on the phone taken by the user .jpg";
DataSource source = new FileDataSource(filename);
if (filename == null) {
}
messageBodyPart.setDataHandler(new DataHandler(source));
messageBodyPart.setFileName(filename);
multipart.addBodyPart(messageBodyPart);
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)