|
|
Do aspose.email.outlook product has Delete function.
Last post 02-08-2012, 2:23 AM by babar.raza. 50 replies.
-
12-08-2011, 4:30 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Sarfaraj,
Thank you for the correction.
I have tried with several PST files and I am still unable to replicate your said issue on my end. I have managed to delete some messages from different sub-folders of the PST file. After deleting the messages, I opened the PST in Outlook 2010 and the result is as expected. The messages are deleted and I can browse the rest of the messages from same folder.
Although I have two observations, - Deleted message does not go to "Deleted Items" folder of the PST. It simply vanishes.
- I have to close the Outlook to process the PST file from my sample application, even if it is not loaded in Outlook.
I am looking for the answers in regard to above two points.
Regarding your said issue, will it be possible for you to share a sample PST file (of some small size) that can exhibit the issue.
Regards,
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-08-2011, 5:38 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi, Thanks for your help, At my end i am trying to fix this issue since you have tested several time you are not getting any issue .can i have your aspose email id so that i can send you message regarding any issue.
Thanks&Regards, Sarfaraj
|
|
-
12-08-2011, 9:07 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Sarfaraj,
You can always contact us via forums or Live Chat and we will provide you all the assistance that you may require to solve your issues related to Aspose products.
Regarding the issue, I will keep you posted with my findings.
Thank you,
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-12-2011, 7:21 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Babar Raza, how can i read folder and subfolder for e.g Inbox/MQ/VQ blah blah within click event. this is csv part thar read from csv and compare with pst using aspose mail functionality
while (objReader.ReadRecord()) { string sMailSubject = objReader["$MailSubject"]; ----------------------------------------------------------------- public void ExtractMessage(FolderInfo folderInfo, PersonalStorage pst) { MessageInfoCollection messageInfoCollection = folderInfo.GetContents(); if (folderInfo.HasSubFolders == true) { foreach (FolderInfo subfolderInfo in folderInfo.GetSubFolders()) { ExtractMessage(subfolderInfo, pst); Response.Write(subfolderInfo.DisplayName); } } foreach (MessageInfo messageInfo in messageInfoCollection) {
if (messageInfo.Subject.Equals(sMailSubject) == true) { folderInfo.DeleteChildItem(messageInfo.EntryId); }
} Issue is this that i pass csv file in that csv message subject is compared with aspose recursive function for e.g in csv message subject is "Hi" now that message subject is compared with pst if it exist in pst it get deleted .is there any way to read all folder ,subfolder and message without using recursive method to enable comparison and deletion
Any Help Would be Appreciated Thanks &Regards, Sarfaraj.
|
|
-
12-12-2011, 10:43 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Sarfaraj,
I am afraid there is no way to list all messages from all sub-folders of a PST file in one call. You have use recursive calls to list all messages in a PST.
Are you having any issues with your current implementation?
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-13-2011, 7:32 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
HI BABAR RAZA, Problem as i mentioned above to delete message based on csv comparison is solved it works fine Thanks for your reply.Now another issue is that i have pst in that message with same subject exist but when i delete messages it throws "Object reference not set to an instance of an object ". As long as there is no two message with same subject it work fine.I would have used EnrtyIDString(for unique reference) to compare but csv file in which there is no EnrtyIDString as ASPOSE has so i have to use common between them so it is only subject that will do.
THANKS, SARFARAJ
|
|
-
12-14-2011, 1:27 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Sarfaraj,
Thank you for the information.
I think you are aware of the fact that there could be several messages having same subject. If you delete the wrong entry once, you will hit this exception when you try to delete it again in next iteration.
For more detailed insight view, can you please share your sample project and PST for our review.
Regards,
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-14-2011, 6:54 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Attachment: Present (inaccessible)
HI BABAR RAZA,
i am going to share sample project code ,PST to have look why this issue
arising and again i just want to remind you that screen shot which i
have attached (please have look)along with project code and pst is that
when i delete all message from pst but when i copy some message from
another pst to pst from which i deleted message using ASPOSE product it
does not allow instead it show error.
|
|
-
12-15-2011, 1:55 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
HI Babar, if you have analyzed and sort out problem (using sample code,pst ) stated above please reply as quick as possible .
Thanks &Regards, Sarfaraj
|
|
-
12-16-2011, 8:29 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
HI Expert, i just want to remind you that pst delete part is urgent requirement if you have done with issue please reply me as soon as possible.
Thanks&Regards, Sarfaraj
|
|
-
12-16-2011, 11:34 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Attachment: Present (inaccessible)
Hi Sarfaraj,
Sorry for the delayed response on this.
Actually while processing your provided PST file with your provided source code, I have encountered another error. I wanted to delete the messages having the subject "Microquery Enquiry". There are two such messages that are in INBOX=>CABINET=>IVM folder. I debugged the source code line by line and in first iteration (by first iteration I mean to delete 1st message of the two) I was hit by exception "
Object reference not set to an instance of an object". Then I tried to view how many massages were deleted but I couldn't check cause Outlook didn't open the folder. See attached snapshot.
Currently, I am trying to delete the message with my own custom code to isolate the cause of problem. Once confirmed I will log an issue for it.
Please note that, after logging the issue, it will take some time for analysis and correction.
I will keep you posted with my results.
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-19-2011, 6:27 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi again,
I have logged an investigative ticket (Id:32798) in our tracking system to isolate and rectify the problem.
We will keep you posted with updates.
Thank you for your patience.
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-21-2011, 1:38 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
HI Expert,
Thanks ,as you said logged an investigative ticket (Id:32798) in your tracking system to isolate and rectify the problem I just want to know when this issue will be fixed because it is urgent module.
Regards, Sarfaraj
|
|
-
12-21-2011, 2:31 AM |
-
babar.raza
-
-
-
Joined on 03-11-2011
-
Sialkot
-
Posts 1,969
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
Hi Sarfaraj,
I have just checked that the fix for your issue is under progress. Also, I have asked for the ETA of fix. As soon as I receive further updates, I will post that here for your reference.
Regards,
Babar Raza Support Developer, Aspose Sialkot Team http://www.aspose.com/ Aspose - Your File Format Experts
|
|
-
12-22-2011, 8:40 AM |
-
saffu2011
-
-
-
Joined on 11-25-2011
-
-
Posts 59
-
-
-
-
-
|
Re: Do aspose.email.outlook product has Delete function.
HI Expert, i just remind you that when i expect(how many days will you take to ) issue to be resolved .please please reply to me as quick as possible,it is very urgent
Thanks, Sarfaraj
|
|
Page 2 of 4 (51 items)
2
|
|