Problem with wodImapServer (General questions)

by ab @, (5611 days ago)

We in process of testing ImapServer and found several problems.

1. In notify event of CopyMessage,MoveMessage we change some aux object, assigned to Folder.Tag, but then in the ListFolders notify event Folder passed with unchanged Tag!

2. Trying move message from another account in MS Outlook to IMAP account rise CreateMessage notify event, but Message come in with empty body.

Please help.

locked

Re: Problem with wodImapServer

by woddrazen @, (5611 days ago) @ ab

Hi,


1) Can you show us maybe code snippet how did you check Folder.Tag inside ListFolders Event?

2) I try to duplicate this problem but it works for me. Can you maybe try to copy message using our samples in component Samples folder?

You can try with for example 2.Full VB6 sample.

Let us know how it goes.


Regards,
Drazen

locked

Re: Problem with wodImapServer

by Anton, (5610 days ago) @ woddrazen

Sorry Drazen seems i misundestood UID conception. Will test it some more. and let you know.
Anton

locked

Re: Problem with wodImapServer

by Anton @, (5609 days ago) @ Anton

Brazen, we are not sure how flags of message connected to folder, or it not connected at all and depends only on message itself and current user.
And seconf question: should we manually set flags and how client will be react to flags change. It will be very useful if you will specify with more detailed info about flags.
Regards, Anton

locked

Re: Problem with wodImapServer

by Anton @, (5609 days ago) @ Anton

Drazen it will be excellent if you are suggest to us some example of table's structure to make Imap server fully functional.
From our point of view its seems like this:

Table_Folders
IdFolder
Flag
UserId
NextMessageId
Table_Message
InternalDocId
MessageId
FolderId
TableMessageFlag
InternalDocId
UserId
MessageFlags

locked

Re: Problem with wodImapServer

by woddrazen @, (5609 days ago) @ Anton

Anton,


I would suggest you to check our 2. Full VB6 sample. Inside that sample you can find how to use UID (unique ID) and Flags.

Is there anything else you want to use? I think this is all you need.

Flags should be set manually inside code and UID's also. Inside sample Module1.bas UID and Flags are set or changed. So you can check code there.

More help for ImapFolder object UID Property you can find here:
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapFolder~UID.html

More help for ImapMessage object UID Property you can find here:
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapMessage~UID.html

MOre help for ImapMessage object Flags Property you can find here:
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapMessage~Flags.html


Drazen

locked

Re: Problem with wodImapServer

by bkv @, (5608 days ago) @ woddrazen

Hello Drazen,
The problem is that it is not possible to understand in details al
aspects of IMAP server implementation in case if you don`t save messages in eml files on hard drive, but in the database, in rather complicated system, when messages/folders could be changes not only using IMAP server.
Your samples are too simple.
Brgs, Konstantin

locked

Re: Problem with wodImapServer

by wodDamir @, (5608 days ago) @ bkv

Konstantin,

Samples are simple, but they are there to show basics of using the component, so one could start using it.

Let's not forget that wodImapServer's function isn't handling message storage, but communication with client, as well as actually *delivering* the message.

How you decide to store messages and feed them to wodImapServer is completely up to you.

Regards,
Damba

locked