Deleting Selected Messages

How do delete selected messages from ClientState.SelectedMessage?
Below is some sample code which isn't working
Set SelMsgs = g_C3POManager.ClientState.SelectedMessages
do while SelMsgs.Count<>0
...processing
SelMsgs.Remove 1
wend
Thanks
Phil.

What do you mean when you say 'isn't working'? Are you receiving a
specific error?
Regards,
Shane
In article <v3KWc.4039$[email protected]>,
[email protected] says...
> How do delete selected messages from ClientState.SelectedMessage?
>
> Below is some sample code which isn't working
>
> Set SelMsgs = g_C3POManager.ClientState.SelectedMessages
> do while SelMsgs.Count<>0
>
> ...processing
>
> SelMsgs.Remove 1
> wend
>
> Thanks
>
> Phil.
>

Similar Messages

  • RE: Deleting Selected Messages

    Phil, you are using the Remove method of MessageList. Since MessageList is only a snapshot of the messages in the
    message DB, the messages won't get deleted from the DB. You can use the Item method of MessageList to get individual
    messages and subsequently call Delete on the Message object. Hope this solves your problem.
    Saurabh
    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]]On Behalf Of
    [email protected]
    Sent: Wednesday, October 06, 2004 3:40 AM
    To: [email protected]
    Subject: Re: Deleting Selected Messages
    What do you mean when you say 'isn't working'? Are you receiving a
    specific error?
    Regards,
    Shane
    In article <v3KWc.4039$[email protected]>,
    [email protected] says...
    > How do delete selected messages from ClientState.SelectedMessage?
    >
    > Below is some sample code which isn't working
    >
    > Set SelMsgs = g_C3POManager.ClientState.SelectedMessages
    > do while SelMsgs.Count<>0
    >
    > ...processing
    >
    > SelMsgs.Remove 1
    > wend
    >
    > Thanks
    >
    > Phil.
    >

    Perhaps I am misunderstanding you, but in email view why would you be selecting more messages without a purpose of doing a specific action with those selected messages? Each message you select "flags" it for whatever you do next (move or delete them). Simply do not select the messages that you don't want deleted.
    -SM

  • Completely delete SELECTED messages?

    In Mail 2.0.3, is there a way of completely deleting SElECTED messages from a mailbox? (In other words, I want to avoid the "two step" deletion process of first sending them to Mail's trash.)
    TIA
    Robert
    iMac DV 400 MHz Slot-loading CD-R   Mac OS X (10.4.2)  

    Ah! This wasn't clear in your first post, I understand now. What you want is a "Delete Immediately" command, in addition to the standard (configurable) "Delete" command, right?
    Well, AFAIK Mail does not have this. Probably the closer you can get is set up the account as described in my previous reply and move the messages you don't want to delete immediately to a custom mailbox folder instead of deleting them with Mail's Edit > Delete command (which would be used only for messages that you want to delete immediately). You can define a rule to permanently delete messages from that folder a specified amount of time after they were received or something like that. Maybe others know of a better approach.

  • Automated Reply and Delete of Selected Messages in Mail

    First the situation, I do support work and have been receiving direct e-mails for support requests for the last 14 years. With additional people in the group, I want to force people to send e-mail to our helpdesk e-mail address to get support so other group members can provide assistance. Of course, these are old habits to break. I've been sending a canned message stored in Stickies saying something like "Your e-mail has been deleted, go to the helpdesk for support", but would like to automate that process.
    I found that in Entourage, you can create a rule, not have it active, and then manually run that rule by selecting "Message -> Apply Rule -> <Rule-Name>". Unfortunately, I don't normally have Entourage open.
    How would one use Rules in Mail.app, Automator, and/or AppleScript to accomplish this? I looked around at the default actions in Automator for Mail, but didn't really find what I thought would work. I also searched around for new actions to Mail, but still didn't find a way to reply-to and delete selected messages.
    Any suggestions or pointers on where to look?
    Steve

    When I try to reply in Mail, I hear the sound of a new window opening
    What do you mean? There is no such sound in Mail...
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    The problem you have in Mail is usually caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, this other article provides links to some utilities that can be used for troubleshooting and cache cleaning:
    Resolving Disk, Permission, and Cache Corruption
    It seems that the most appropriate utility for solving this particular problem is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • How do I permanently delete my messages on my iphone4S? I delete them, but they come back if my phone turns off. I currently have 7.3GB of saved messages on my internal storage.

    My iMessage also turns itself off on its own

    Open messages.
    tap edit.
    tap the - to delete each thread.
    or.
    tap a contact and delete selected messages.

  • After upgrading the new operating system, it seems some useful features no longer work such as when typing a message the text anticipates the next word and when trying to delete individual messages from a contact, you can no longer tap and hold to select

    After upgrading the new operating system on my Droid Razr M it seems some useful features no longer work such as when typing a message the text anticipates the next word and when trying to delete individual messages from a contact, you can no longer tap and hold to select multiple message you have to delete them individually or the entire thread. Is there a way to get these back?

    Well, that's kind of embarrassing. And I honestly thought I paid attention to that... It works perfectly now, thank you so much!
    As expected, cdm-git also works fine since DMs only work in the root mode as of now.
    Just for the record, both type commands output "/usr/bin/startx" and pacman -Q gives "systemd 215-4".
    Last edited by looki (2014-08-23 13:04:49)

  • Cant select and delete text messages

    Since the latest ios7 update i can no longer select and delete text messages.  I have to delete the entire conversation.  Anyone else having this problem? Is there a fix?

    Tap and hold on a text within a conversation. Tap "More" in the pop up menu. Select the messages you want to delete by tapping in the little circles at the left of the messages. Tap the trash can in the lower left of the screen.
    Best of luck.

  • Selected message can't delete in C3 noika

    Hi,
    We can't delete seleceted message at a time.
    and i observed that every nokia mobile has this feature except Nokia c3.
    Please let us know . if i need to delete 30 selected message. how will i delete it.

    Mark and Mark All has been removed from Messaging.
    Select Menu -> Messaging -> More -> Delete Messages -> Select one message to delete or delete all messages
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • I'm unable to delete a message. When I select edit and hit the red ( | ) button it reverts back to (-) before I can delete the message.

    I'm running IOS 4.3.3(8J2) on an Iphone 4. When I try to delete a message by editing and then selecting the red (|) before I can delete it the delete button goes away and reverts back to the . I also noticed since this has started that my battery drains quite quickly now. Is this a bug in the current IOS release?

    I'm having the EXACT same problem!  I look forward to getting an answer since no one seems to know why this is happening.

  • HT4528 How do you delete 'SAVED MESSAGES' on iPhone 5s

    How do you delete 'SAVED MESSAGES' on iPhone 5s?  It's taking up about 10GB of 32 GB capacity.

    After much searching on the web and reading many (sometimes amusing) posts on this topic here is what I have found.
    In Settings>General>Usage my saved mesages were using 3.2Gb and no apparently immediate way of deleting them.
    However as the good book says "seek and ye shall find".
    SO this is where I went:
    Settings>iCloud>Account> then scroll down to ADVANCED and select Mail; again scroll down to the bottom and select Advanced and yet again scroll to the bottom (well at least to DELETED MESSAGES) and tap on the line called Remove.
    Here at last you will find a setting that enables you to select the period after which iOS will remove your deleted messages.
    The shortest period is one day so you will haev to wait 24 hours to finally have that memory back but it should work and is a nice feature in iOS although it is well burried!!

  • SIM card full please delete SMS messages

    I keep getting the message "SIM card full please delete SMS messages". I've gone into options under TEXT messages and there is no option to check or uncheck "save on SIM card. I've had this issue since I bought the 9810. I did not have the same issue with the 9800 that I had before.

    Hi and welcome to the forums!
    Try the steps listed below.
    Let us know how it goes!
    Thanks,
    Bifocals
    KB13465 "SIM card is full please delete SMS messages" appears on the BlackBerry smartphone
    For a possible resolution of this issue, complete the following steps:
    On the Home screen of the BlackBerry smartphone, go to Options > SMS.
    Press the Menu key and click SMS options.
    Go to Leave Messages On SIM Card.
    Press the Menu key again and click Change Option.
    Select No.
    Press the Menu key and click Save.
    Open Messages on the Home screen of the BlackBerry smartphone and press the Menu key.
    Locate the View Folder menu option.
    Select SMS SIM Card Inbox.
    Delete any unnecessary SMS text messages in order to create space on the SIM card.
    For BlackBerry® Device Software 6.0, complete the following steps:
    On the Home screen of the BlackBerry smartphone, open the Messages application.
    Press the Menu key and click Options.
    Click Text Messaging.
    In the SMS Text area, clear the Leave Messages On SIM Card check box.
    Press the Menu key and click Save.
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • How to delete individual messages in iOS 7 when it is auto detected as a phone number?

    Hi, in iOS 7, in messages, individual messages can be deleted by holding that particular message and then selecting more to show up the thrash bin icon.
    But my problem is i want to delete a message with only numbers in it.  The only options available after pressing and holding the message are:
    "Call 1234567"
    "Send Message"
    "add to contacts"
    "Copy"
    "cancel"
    I discovered that i can do a round about method by holding another message to select the "more" option i mentioned earlier and then "tick" the message with the numbers to be deleted.  But what happens when all the messages are in numbers only?! That means I need to either create 1 more message or get the person to send me another message before I do the round about method. 
    In the first place, doing the round about method is already quite stupid...
    Can anyone advise? Thanks.

    Oh yeah, now I remember that.
    But I also remember that you had to go all the way to the start of the message to gain access to the current contact information. Where as in iOS7 that button you mentioned is the contact information. Personally I perfer iOS7. I don't delete my messages, so this is better for me.
    However, it wouldn't be a bad idea to add an Edit button in that sub menu that shows up when you touch the upper right button. Currently there are opitions for "Phone", "FaceTime" and "Information" on the contact.
    KOT

  • Can't delete email messages from some folders in Mail

    I CAN delete email messages from header Folder "MAILBOXES" (drafts, sent, trash); however, there's another folder header below called "ON MY MAC", where I save various emails by dragging them to a subfolder, and when I try to delete these, I get this message:
    "The message '(subject of email)' could not be moved to the mailbox 'Deleted Messages --- On My Mac' The destination mailbox 'Deleted Messages --- On My Mac' does not allow messages to be moved to it."
    The only way to delete from this folder is to hold Control, select from the dropdown Move to, then Trash, and then one of three sub-trash folders (the one that has my email address) -- this is a pain to do.
    Mail is just not working properly any more (I just added 2 other posts - one about crashing, another about all my Fonts missing)
    thank you in advance!

    Colin,
    Have you checked Mail>Window>Previous Recipients for the old address? If not, attempt to "Remove From List" at that location and let us know what happens.
    ;~)

  • How to delete all Messages in B1-Event-Monitor

    Hello,
    is there a way to delete all Messages from the B1-Event-Monitor.
    Now we have:
    ... But when I try the "Delete All" Function nothing happend, and the Browser hang.
    I found this post.B1if db unexplained growth.. and followed all steps.
    1)Monitoring->B1 Event Monitor->Switch the log off. Now press delete all button. To clear all the logs.
    It is recommended that the B1 Event Monitor is turned on only when debugging& analyzing specific issues. During normal usage, you should switch the B1 Event Monitor off:
    2)Maintenance->Cfg Msglog->Click on Manual Delete and provide the appropriate input and press Delete.
    3)B1if is handling the message log deletion automatically on the daily bases (B1if -> Maintenance -> Cfg MsgLog -> Daily deletion button). By default it#s set to 23.00. It means the server needs to be up at this time. This value can be set according the customer#s requirement and here you can find more option regarding the message log settings as well. (Kindly check whether Backup buffer(days) is set to 0, if yes check by changing it to 1)
    4)Schedule an immediate Transaction-Log Garbage Collect (B1if #> Control Center #> Maintenance #> Schedule TLog GC #> Submit)
    5)Open Integration Framework->Control Center->Maintenance->tlog delete->Select the Execution status as "Completed"->submit. Wait for the process to complete.
    6)Now restart the Integration service.
    Messages are still in the B1-Event-Monitor.
    I think our mistake was the LOG-Level ON during all the time.. the daily deletion I switched to 03:00 with 1 day Buffer
    Thank you for an Idea.
    SAP B1 9.0 PL 12
    B1-Integration PL15 = .1.20.8
    Regards
    Markus

    Hi,
    You Can use DB Purge tools.
    May be it will help you for deleting those data.
    You can also view this thread.
    http://scn.sap.com/thread/3606618
    Thanks,
    Tushar

  • How to delete the messages from sxmb_moni with status cancelled

    Hi ,
    how to delete the messages from sxmb_moni with status cancelled
    Is there any report for this
    Regards
    Suman

    I think just for deleting the jobs you can do this only
    Scheduling Delete Jobs
    To schedule delete jobs, proceed as follows:
           1.      In the Integration Engine -
    > Administration menu, choose Schedule Delete Jobs.
           2.      Select the job(s) to be scheduled.
           3.      Specify the start time and date.
           4.      Specify the period you want to use and choose Schedule.
    For an overview of all jobs, choose Jobs.

Maybe you are looking for

  • Loop at screen in CJR2 layouts (or KPP1L management ) ?

    Hi to all, I need to make as input fields (and consquently,  to disable as input fields at some other conditions) the layouts on CJR2 transaction . In my case it is available an include custom (as a standard modification ) in which I can use "loop at

  • Macbook Pro Late 2011, Bought 6 months ago.. Mountain Lion won't install

    I recently bought a new macbook pro 6 months ago, and with lion, I have tryed to download mountain lion but it does not work, it says this disk cannot be used to start up your computer, i tried clcking on the recovery partion as well but that also do

  • Wifi very slow on Helix after fresh install of 8.1, do I need the Intel Wireless LAN "drivers"?

    I'm getting a few hundred kbps on downloads from MSFT's dev site, which typically are 1MB/sec for me on this Helix. Just did a fresh install, but am using stock Windows 8.1 wifi drivers. Do I need to install something specifically for Helix, like the

  • Lightroom 4.3 histogram does not appear

    I am a longtime Lightroom user, now with 4.3. I import my files from my D800e with a card reader as dng's. Occasionally, when I click on an image in the grid view, the histogram does not show, regardless of how long I wait. If I bring it into loupe v

  • Motion 3 exports stutter in QT

    Can the file size of the stills I'm using have anything to do with it? I'm trying to do a 1920x1080 export; I already reduced the stills quite a bit to be able to work with them at all in Motion but they are now well under the stated limit Running QT