for ( i = 0; i < attachmentCount; i++)
{
Try {
- LoggerD("attachment ID :" << attachment[i].attachment_id << " name :" << attachment[i].attachment_name << " download :" << attachment[i].save_status << "savefile :" << attachment[i].attachment_path);
- LoggerD("attachment inline status :" << attachment[i].inline_content_status);
+ LoggerD("attachment ID : [" << attachment[i].attachment_id
+ << "] name : [" << attachment[i].attachment_name
+ << "] download : [" << attachment[i].save_status
+ << "] savefile : [" << attachment[i].attachment_path
+ << "] mimetype : [" << attachment[i].attachment_mime_type
+ << "]");
+ LoggerD("attachment inline status : ["
+ << attachment[i].inline_content_status << "]");
IAttachmentPtr tmpAtt(new Attachment());
if (attachment[i].attachment_path)
tmpAtt->init(attachment[i].attachment_path, false);
if (tmpAtt)
{
- LoggerD("attachment[i].inline_content_status : " << attachment[i].inline_content_status);
+ LoggerD("attachment[i].inline_content_status : ["
+ << attachment[i].inline_content_status << "]");
tmpAtt->rename(std::string(attachment[i].attachment_name));
tmpAtt->setAttachmentID(attachment[i].attachment_id);
tmpAtt->setDownloaded(attachment[i].save_status);
if(getCurrentFolder() == DRAFTBOX)
{
- updateBody();
- updateSubject();
- updateRecipients();
+// updateBody();
+// updateSubject();
+// updateRecipients();
// updateFrom();
// updateAttachments();
updatePriority();
if(getCurrentFolder() == DRAFTBOX)
{
- updateAttachments();
+// updateAttachments();
-/*
+
email_mail_data_t* result = NULL;
error = email_get_mail_data(m_mail->mail_id, &result);
LoggerW("email_update_mail_attribute error. [" << error << "]");
}
}
+ tm* time = localtime(&result->date_time);
+ if (!time) {
+ LoggerE("localtime failed");
+ Throw(WrtDeviceApis::Commons::PlatformException);
+ }
+ setDateTime(*time);
}
if(result != NULL)
{
LoggerW("email_free_mail_data error. [" << error << "]");
}
}
-*/
+
}
if(meeting_req) {