Do aspose.email.outlook product has Delete function.

Last post 02-08-2012, 2:23 AM by babar.raza. 50 replies.
Page 1 of 4 (51 items)   1 2 3 4 Next >
Sort Posts: Previous Next
  •  11-25-2011, 8:40 AM 344745

    Do aspose.email.outlook product has Delete function.

    HI,
    I have requirement to delete  Unwanted message without using outlook   based on message ID .or whatever ID e.g entry ID.is it possible using your product .

    please mail me as quick as possible.

    This message was posted using Page2Forum from Aspose.Email.Outlook - Aspose.Email for .NET
     
  •  11-27-2011, 4:28 PM 344857 in reply to 344745

    Re: Do aspose.email.outlook product has Delete function.

    Hi there,

    Thanks for your inquiry.

    I will move your request to the Aspose.Email forum so the team there can assist you further. They will reply to your asap.

    Thanks,

    Adam Skelton
    Programming Writer
    Aspose Auckland Team
     
  •  11-27-2011, 11:12 PM 344870 in reply to 344857

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi,

    Thank you for considering Aspose.

    Please check the below linked technical article on how to delete messages from exchange server,

    In case you have further questions or comments, please feel free to write back.
    Regards,

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  11-28-2011, 4:28 AM 344954 in reply to 344870

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi,
    I am again getting it clear that i want to delete message from PST file.My requirement is that I have PST file i want  to delete message by passing Message ID programmatically using C sharp .NET.

    Regards,
     
  •  11-28-2011, 5:01 AM 345005 in reply to 344954

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi,

    Thank you for the clarification. 

    I am afraid, at the moment Aspose.Email for .NET does not support deletion of messages from PST file. 

    We will discuss this feature with development team and if feasible we will add it to our road map.

    Sorry for your inconvenience.

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  11-28-2011, 5:16 AM 345011 in reply to 345005

    Re: Do aspose.email.outlook product has Delete function.

    Thanks Expert for your Quick response
     
  •  11-28-2011, 9:23 AM 345099 in reply to 345011

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi,

    We already have this feature on our road map. With the release of Aspose.Email for .NET v1.2.0, DeleteChildItem(byte[] entryId) method will be available in FolderInfo class. Using which will enable you to delete the folder or message by it's entry ID from a PST file.

    I have attached this post thread to the ticket ID (29446) associated with this feature . As soon as this feature is available, you will be automatically notified. 

    Regards,

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  11-29-2011, 4:18 AM 345307 in reply to 345099

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi Expert,

    As you said that this feature on our road map with release of Aspose.Email for .NET 2.0 and i will be notified regarding this matter,but can you tell me when i expect to be ready to use this product feature any date? because it  is  urgent.

    Thanks and Regards,
    Sarfaraj
     
  •  11-29-2011, 11:55 AM 345444 in reply to 345307

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi Sarfaraj,

    I am afraid, I do not have the release date at the moment. But I can inquire it from our development team and will let you know here.

    Thank you for your patience. 

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  11-30-2011, 7:27 AM 345755 in reply to 345444

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi again,

    Aspose.Email for .NET v1.2.0 will be available for public use in first quarter of December 2011.

    Regards,

    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  12-05-2011, 12:05 AM 346778 in reply to 344745

    Re: Do aspose.email.outlook product has Delete function.

    The issues you have found earlier (filed as 29446 ) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
  •  12-05-2011, 12:09 AM 346788 in reply to 346778

    Re: Do aspose.email.outlook product has Delete function. .NET

    FolderInfo.DeleteChildItem() method was added to delete an item from PST file.

    Sample code:
    PersonalStorage pst = PersonalStorage.FromFile(strBaseFolder + strPSTFile);

    // Get the Sent Items folder 
    FolderInfo folderInfo = pst.GetPredefinedFolder(StandardIpmFolder.SentItems);
    MessageInfoCollection msgInfoColl = folderInfo.GetContents();
    foreach (MessageInfo msgInfo in msgInfoColl)
    {
        Console.WriteLine(msgInfo.Subject + ": " + msgInfo.EntryIdString);
        if (msgInfo.Subject.Equals("some delete condition") == true)
        {
            // delete this item
            folderInfo.DeleteChildItem(msgInfo.EntryId);
            Console.WriteLine("Deleted this message");
        }
    }

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  12-07-2011, 5:17 AM 347421 in reply to 346788

    Re: Do aspose.email.outlook product has Delete function.

    HI Expert,

    As i am evaluating aspose.email.outlook product i came across one issue that it doesnot allow me to open pst file in outlook when i open pst file in outlook to check message because program does not close instance of pst file.how should i close pst file ?


    Thanks&Regards,

    Sarfaraj

    Filed under: . Net
     
  •  12-07-2011, 6:26 AM 347455 in reply to 347421

    Re: Do aspose.email.outlook product has Delete function. .NET

    Hi Sarfaraj,

    I am afraid, I am unable to replicate your said issue on my end. I have created a new PST file from a console application. As soon as the application completed it's execution, I was able to open the newly created PST in Outlook 2010.

    If I have misunderstood your scenario then please correct me.

    Note: You can also initialize the PersonalStorage instance in using statement to correctly dispose the object.
          using (PersonalStorage pst = PersonalStorage.FromFile("file.pst"))       {                //do some processing       }



    Babar Raza
    Support Developer,
    Aspose Sialkot Team
    http://www.aspose.com/
    Aspose - Your File Format Experts
     
  •  12-07-2011, 7:49 AM 347479 in reply to 347455

    Re: Do aspose.email.outlook product has Delete function.

    Hi Babar Raza,

    i made correction i.e using (pst) still having problem .my requirement is that using aspose.email.outlook .pst i read all folder, subfolder,iterate through all message when it comes to check message entry id look at this snippet(for testing purpose )

     MessageInfoCollection messageInfoCollection = folderInfo.GetContents();
            foreach (MessageInfo messageInfo in messageInfoCollection)
            {
                Response.Write("Subject: " + messageInfo.Subject);
                //Response.Write("Sender: " + messageInfo.SenderRepresentativeName);
                //Response.Write("Recipients: " + messageInfo.DisplayTo);
               Response.Write("EnryID: " + messageInfo.EntryIdString);
                Response.Write("------------------------------");
                if (messageInfo.EntryIdString.Equals("AAAAAPi8BgLjGitHmY3d/sTJboTkDCAA") == true)
                {
                //    // delete this item
                    folderInfo.DeleteChildItem(messageInfo.EntryId);
                    Response.Write("Deleted this message");
                }

    it delete the item ,thing is that when i open pst file in outlook it show"
    Cannot display the folder. Microsoft Outlook cannot access the specified folder location. The operation cannot be performed because the object has been deleted."

    Thanks &Regards,
    Sarfaraj
    Filed under: . Net
     
Page 1 of 4 (51 items)   1 2 3 4 Next >
View as RSS news feed in XML