login about faq


I want to access the sent mailbox using Chilkat Imap Component.how can I do this

asked Oct 03 '13 at 06:30

jaideep%20Singh's gravatar image

jaideep Singh

edited Oct 03 '13 at 07:06

Have the IMAP object keep a session log by setting the imap.KeepSessionLog property = true, then examine the imap.SessionLog property after the search. (Make sure KeepSessionLog is on prior to the call to SelectMailbox.)

You'll see the exact IMAP commands and responses. If you see the Sent mailbox correctly selected, and then you see the expected SEARCH command, and if the response indicates 0 messages, then there truly are 0 messages in the Sent mailbox. At that point you have to ask yourself why you might think otherwise. What are you looking at that makes it seem like there are actually messages present? Perhaps they are local copies of email no longer on the server? If using GMail, then see this: http://www.cknotes.com/?p=218


answered Oct 04 '13 at 10:45

chilkat's gravatar image

chilkat ♦♦

When you say "Sent" mailbox, do you mean an actual folder on the IMAP server, or is it the local "Sent" folder managed by Outlook, Thunderbird, or some other email client? If it's an actual mailbox on the IMAP server, it's just a matter of selecting it with the correct name. If it's really just a local folder (local file in your local filesystem) managed by your email client, then it's not accessible via an IMAP API..


answered Oct 03 '13 at 09:22

chilkat's gravatar image

chilkat ♦♦

Yes you are right it is actual folder on Imap server but when I access this folder with its name using _imap.SelectMailbox method it return success message but does get the mail from folder

I do this


Chilkat.MessageSet messageSet = _imap.Search("ALL", fetchUids);

the messageSet is empty but there are mail in the folder on server.

(Oct 04 '13 at 02:07) jaideep Singh
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 03 '13 at 06:30

Seen: 1,050 times

Last updated: Oct 04 '13 at 10:45

powered by OSQA