Recent content by anil kumar

  1. A

    Move email items based on a list of email addresses

    Hi Diane, just posting the part of edited code. Please let me know if this is good to go or need changes. ' array from list Dim fn As String, ff As Integer, txt As String fn = "C:\Users\Daniel\Desktop\addresses-to-move.txt" '< --- .txt file path txt = Space(FileLen(fn)) ff =...
  2. A

    Move email items based on a list of email addresses

    thank you Diane, i found out that if the caret cursor is at the new line in addresses-to-move.txt text file then all the emails from sent folder will be moved to unwanted. but if the cursor is at the end of the last email then the whole thing works. excellent work and thank you very much...
  3. A

    Move email items based on a list of email addresses

    Hi Diane, i have set the current email account, data file to default and tried but still all the email items are moved from Sent folder to Unwanted folder though i have email address in below format in addresses-to-move.txt aaa@meosxxxxxxxop.fr; aaa@tri-axxx.com; aaa@neuxxxxort.com...
  4. A

    Move email items based on a list of email addresses

    i checked for my address thinking this could be triggering but i didn't find my address at all. and then i added strAddress = ";" (tried few times) strAddress = "" (tried few times) and ; at the end of all the email addresses in the text file but still all the email items from sent...
  5. A

    Move email items based on a list of email addresses

    Thank you Diane. I am not getting error but all the emails from sent folder are moved to unwanted not just the ones i wanted to move listed in addresses-to-move.txt any thoughts on it?
  6. A

    Move email items based on a list of email addresses

    Thank you Diane for quickly responding to my query. Yes, i have two more email accounts configured in outlook. should i replace this line Set objDestFolder = objNamespace.GetDefaultFolder(olFolderSentMail).Folders("Unwanted") with Set Items =...
  7. A

    Move email items based on a list of email addresses

    Diane, i have changed the line. Not sure i am still getting the same error for Set objDestFolder = objNamespace.GetDefaultFolder(olFolderSentMail).Folders("Unwanted") can you please let me know if anything else has to be changed.
  8. A

    Move email items based on a list of email addresses

    Awesome Diane, You are a wonderful and very generous person. i really thank you from the deepest of my heart for your responses. I have a last query. should i be adding all three snippets into new module given in https://www.slipstick.com/developer/recipient-email-address-sent-items/? also i...
  9. A

    Move email items based on a list of email addresses

    Diane, Thanks for replying, but it seems somebody by name darren wanted to get your help and wrote his query in my thread. Sure Darren would be happy, as he got your help. it would be great, if you can reply a solution on how to move email items from sent folder by a list of email addresses...
  10. A

    Move email items based on a list of email addresses

    Hi Diane, Seems you are running on a hectic schedule, could you please let me know if this is possible. Appreciate a reply. Thanks
  11. A

    Move email items based on a list of email addresses

    Hi Diane, if moving is not possible then deleting to trash folder could also do. i can move from trash to whichever folder i want. please help me with this, thanks
  12. A

    Move email items based on a list of email addresses

    Thanks Diane for quickly responding to me. How many addresses: 1400+ email addresses. Mail items to be moved from: sent folder To be moved to folder : unwanted emails folder either of them will be of a great use to me. I would be happy if you can help me on this. FYI: i have multiple email...
  13. A

    Move email items based on a list of email addresses

    Diane, Thank you for replying my post. I do not want to sort mail items by domain or email address. Below is a list of few addresses for your ref which i have to search one after another in sent items and move to a folder (only one folder, no specifics) aaa@meosxxxxxxxop.fr aaa@tri-axxx.com...
  14. A

    Move email items based on a list of email addresses

    Hi Diane, I have a huge number of emails in sent items and i am trying to move email items based on email addresses to a new folder. but i have a huge list of 1400+ email addresses. I am moving manually by search email address and then move the found items in sent folder to a new folder. can...
Top