| Product: Distinct Mail Objects | Topic: IMAP component | Last updated: 3/30/2008 |
| |
| Q.: What can I do with the IMAP4 Fetch command? |
A.: The Fetch command gets the data associated with one or more messages. The application can either retrieve the whole message or just part of it. This method is very flexible and powerful. Here are some possible uses:
- Retrieve only the header information (To, From, Subject …);
- Retrieve the message statistics (Unique Identifier, Size or Date Received);
- Retrieve the status of a message (Recent, Answered, Seen, …);
- Retrieve the entire message (with or without the initial header);
- Retrieve information on the contents of a multipart message (Type of message, Section No., Encoding …);
- Retrieve sections of the message (header fields, Content, Attributes);
- Retrieve only a specified number of lines of a message;
- Retrieve the initial header fields for sections of the message;
- Retrieve sections of a MIME multipart message; etc.
Remember if an IMAP4 "vendor" wants to sell you an IMAP4 implementation that does not fully implement the Search and the Fetch commands, just say "no thank you!". It is not IMAP4 unless it implements these most powerful features. Check out the IMAP RFC.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: IMAP component | Last updated: 3/10/2008 |
| |
| Q.: What can I do with the IMAP4 Search command? |
| A.: The Search command searches a mailbox for all messages that match the specifications you specify. You can search any message field. For example you can specify a simple criteria "FLAGGED FROM Smith SINCE 1-Feb-2001" to refer to all messages from Smith since February 1, 2001 that have been flagged or more complex nested search criteria like ((From "Tom") (NOT Subject "xyz") (OR (OR (From "Chris") (NOT Subject "confidential")) To "Tom")). |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: IMAP component | Last updated: 3/30/2008 |
| |
| Q.: When should I use IMAP instead of POP3? |
A.: You should use IMAP whenever you have a need to selectively retrieve email messages or manipulate mailboxes. POP3 can be used for more simple email retrieval and is only able to handle a single mailbox, the user’s INBOX.
IMAP4 is a more recent protocol that allows people to access their mailbox on the company server from different computers when travelling or working from home without having to copy these messages around. IMAP4 is a far more powerful protocol, but it is also more complex. It contains a rich set of commands, which allows you to list, preview, search, flag and organize your messages directly on the server. Of course it also allows you to download these messages to any client computer and delete them from the server if this is what you want to do. IMAP4 also supports commands to create, rename and delete mailboxes on the server, move messages between mailboxes and preview them before downloading them to your client system. See also IMAP4 Search and Fetch for a description of the most powerful commands of this protocol.
IMAP is also particularly useful when you want to share the same mailbox among several users. This is the case of a mailbox created for the only purpose of receiving subscriptions to Newsletters. Rather than cluttering the server with many copy of the same document, system administrators can create a single mailbox that can be shared by many subscribers.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: MIME component | Last updated: 3/30/2008 |
| |
| Q.: What kind of ENCODING does Mail Objects support? |
| A.: The MIME Object supports RFC-822 (plain messages), MIME conformant Base 64 and Quoted printable, Binhex (used for Macintosh files) as well as Uuencode and Uudecode. The MIME Object can be used to create and extract MIME encoded files as well as to create and extract MIME encoded email messages. The MIME Object can also be used to encode and decode files for use with applications other than SMTP, POP3 or IMAP4, such as NNTP or Newsreaders. This Object is a full implementation of the MIME protocol to the extent that it can even encode header fields, unlike its competitors. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/30/2008 |
| |
| Q.: After using EasyRetrieve, how can I extract the parts other than the body (ex. the message contains an application/xml part)?
|
| A.: Once you have called EasyRetrieve successfully, you will get all the message parts. You can view whichever part you want, the body is in Body property and all other part's name are saved in DataFileName property. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/30/2008 |
| |
| Q.: If I download a message using the EasyRetrieve method how can I tell if it's a multi-part message?
|
A.: After EasyRetrieve, if there is data in DataFileName property, it must be a multi-part message. Or you can check RawHeaderData property to see if it is a multipart message.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/14/2008 |
| |
| Q.: If I've downloaded a message using the EasyRetrieve method how can I extract the parts other than the body (ex. the message contains an application/xml part |
| A.: Once you call EasyRetrieve successfully, you get all the parts. You can view whichever part you want, the body in Body property and all other part's name saved in DataFileName property. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/14/2008 |
| |
| Q.: If I've downloaded a message using the EasyRetrieve method how can I tell if it's a multi-part message?
|
A.: There are two ways to check this:
1. After EasyRetrieve, if there is data in DataFileName property, it must be a multi-part message.
2. You can check the RawHeaderData property to see if it is a multipart message.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/14/2008 |
| |
| Q.: If I've downloaded a message using the EasyRetrieve method how can I tell if it's a multi-part message?
|
A.: After EasyRetrieve, if there is data in DataFileName property, it must be a multi-part message. you can also check the RawHeaderData property to see if it is a multipart message.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct Mail Objects | Topic: POP component | Last updated: 3/26/2008 |
| |
| Q.: When I use EasyRetrieve how can I extract the parts other than the body (ex. the message contains an application/xml part)? |
| A.: When you call EasyRetrieve successfully, you get all the parts. You can view whichever part you want, body in Body property and all other part's name saved in DataFileName property. |
| |
Do you find this information useful ? Yes No Not Sure |
|