PC Review


Reply
Thread Tools Rate Thread

Deleting Email Failed

 
 
Sokrat Saydahmat
Guest
Posts: n/a
 
      16th Jun 2005
In the following code I got a error "The operation Failed", the error number
is: "-313261809"

I am not sure what is that mean. It is XP and Office 2003.

Thanks,
sokrat.

//==================================
'm_Delete.Item(i) is an array of msgID that need to be removed
Dim EmailItem As Outlook.MailItem
Dim deletedfolder As MAPIFolder

For i = 1 To m_Delete.Count
Set EmailItem = m_OlNameSpace.GetItemFromID(m_Delete.Item(i))
Set deletedfolder =
m_OlNameSpace.GetDefaultFolder(olFolderDeletedItems)
EmailItem.Delete
Next
Exit Sub


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors deleting email: Unknown error and very slow deleting messag Keith Rainey Microsoft Outlook Discussion 0 29th Apr 2010 03:53 AM
Deleting email in Outlook 2007 not deleting on Blackberry 8830 wir Jennifer L. Microsoft Outlook Discussion 0 17th Mar 2008 02:29 AM
Email deleting - Operation Failed message =?Utf-8?B?S2V2aW4=?= Microsoft Outlook Discussion 0 13th Jul 2007 03:56 PM
Operation failed when deleting messages signaturefactory@signaturefactory.com Microsoft Outlook 5 27th Jun 2005 04:00 PM
Login failed for user when deleting row from datagrid David Microsoft ASP .NET 0 25th Oct 2003 06:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 PM.