Home

Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Folder Confusion

Hybrid View

  1. #1
    Rainer Backes NNTP User

    Folder Confusion

    Hi,

    I'm still with my archiving application (see some posts before). Now
    I've got a new problem:

    I scan the mailboxes for new Items using SOAP (the read cursor calls,
    with retention TS). Because I have to send the items with SMTP to the
    archiving box (it's an appliance called EMA), I fetch the mails etc.
    using IMAP, then they come in the right format and I only have to
    forward them. Now the problem:

    When everything is (and was) English, there are no problems with
    foldernames etc, except that the / (root folder) in SOAP is dispayed in
    Mailbox and Sent Items in the GW Client and as INBOX and Sent Items in IMAP.
    It now seems to me that depending on the GroupWise Version (and POA
    Language) the Mailbox was created and the Version and Language the first
    Client that connected to that box, the names in the Client, visible via
    SOAP and visible via IMAP differ completely.
    Because I have to select the folder in IMAP first (before getting the
    mail using the GUID), I need the correct IMAP folder name, otherwise I
    can't get the message.

    Thanks a lot for your help

    Rainer


  2. #2
    Preston Stephenson NNTP User

    Re: Folder Confusion

    I'm not sure exactly what you are saying. In Bonsai, you will be able
    to specify what language to use in the loginRequest. The folder
    names will be in that language. So the folders will match the folder
    names as if you logged in with the GWClient. Is that sufficient? Or,
    do you have a problem with INBOX vs Mailbox?

    Preston

    >>> On Friday, July 04, 2008 at 4:42 AM, Rainer

    Backes<rbackesno@spambond.de>
    wrote:
    > Hi,
    >
    > I'm still with my archiving application (see some posts before). Now
    > I've got a new problem:
    >
    > I scan the mailboxes for new Items using SOAP (the read cursor calls,
    > with retention TS). Because I have to send the items with SMTP to the
    > archiving box (it's an appliance called EMA), I fetch the mails etc.
    > using IMAP, then they come in the right format and I only have to
    > forward them. Now the problem:
    >
    > When everything is (and was) English, there are no problems with
    > foldernames etc, except that the / (root folder) in SOAP is dispayed in
    > Mailbox and Sent Items in the GW Client and as INBOX and Sent Items in

    IMAP.
    > It now seems to me that depending on the GroupWise Version (and POA
    > Language) the Mailbox was created and the Version and Language the first
    > Client that connected to that box, the names in the Client, visible via
    > SOAP and visible via IMAP differ completely.
    > Because I have to select the folder in IMAP first (before getting the
    > mail using the GUID), I need the correct IMAP folder name, otherwise I
    > can't get the message.
    >
    > Thanks a lot for your help
    >
    > Rainer


  3. #3
    Rainer Backes NNTP User

    Re: Folder Confusion

    As you might remember, I'm currently using IMAP to get the messages in
    MIME format. The confusion I have so not between SOAP and GWClient, it
    is between SOAP and IMAP.
    I already found out that the Mailbox-folder in GWCient is the root
    folder in SOAP and the INBOX in IMAP - That's OK.
    But the folder 'Sent Items' behaves diffrently - in SOAP you find sent
    Items in the root folder - the 'sent Items'-folder in GWClient is a
    search result folder. But the name in IMAP varies. It seems that the
    folowing happens:
    if you have a new mailbox (POA: english) and you log in with a german
    client, the system creates(?) a set Items folder named
    'Ausgangsnachrichten'. Using IMAP the name of the folder is 'Sent
    Items'. That's quite easy and OK.
    But if you have a Mailbox that is some years old and was migrated with
    the Groupwise Versions, that folder CAN have the name
    'Ausgangsnachrichten' in IMAP too. Alternatively, you can have a folder
    'sent Items' in GWClient and 'Ausgangsnachrichten' in IMAP. that all
    depends of the languages of POAs and GWClients the Mailbox was accessed
    with. (I don't dare to imagine, how this would look in simplified
    Chinese :-)) ). Not to speak of cases, when the user had renamed the
    folder.
    I now have the case that a user has created folders with Umlauts in the
    name. I currently don't kown how IMAP handles Umlauts.

    For all that reasons I will try to switch to HTTP-Streaming to get the
    messages, then I don't need to know the foldername, I simply use the id.
    (see my next post)


    Thanks a lot

    Rainer





    Preston Stephenson schrieb:
    > I'm not sure exactly what you are saying. In Bonsai, you will be able
    > to specify what language to use in the loginRequest. The folder
    > names will be in that language. So the folders will match the folder
    > names as if you logged in with the GWClient. Is that sufficient? Or,
    > do you have a problem with INBOX vs Mailbox?
    >
    > Preston
    >
    >>>> On Friday, July 04, 2008 at 4:42 AM, Rainer

    > Backes<rbackesno@spambond.de>
    > wrote:
    >> Hi,
    >>
    >> I'm still with my archiving application (see some posts before). Now
    >> I've got a new problem:
    >>
    >> I scan the mailboxes for new Items using SOAP (the read cursor calls,
    >> with retention TS). Because I have to send the items with SMTP to the
    >> archiving box (it's an appliance called EMA), I fetch the mails etc.
    >> using IMAP, then they come in the right format and I only have to
    >> forward them. Now the problem:
    >>
    >> When everything is (and was) English, there are no problems with
    >> foldernames etc, except that the / (root folder) in SOAP is dispayed in
    >> Mailbox and Sent Items in the GW Client and as INBOX and Sent Items in

    > IMAP.
    >> It now seems to me that depending on the GroupWise Version (and POA
    >> Language) the Mailbox was created and the Version and Language the first
    >> Client that connected to that box, the names in the Client, visible via
    >> SOAP and visible via IMAP differ completely.
    >> Because I have to select the folder in IMAP first (before getting the
    >> mail using the GUID), I need the correct IMAP folder name, otherwise I
    >> can't get the message.
    >>
    >> Thanks a lot for your help
    >>
    >> Rainer

    >



  4. #4
    Michael Bell NNTP User

    Re: Folder Confusion

    Rainer Backes wrote:
    > As you might remember, I'm currently using IMAP to get the messages in
    > MIME format. The confusion I have so not between SOAP and GWClient, it
    > is between SOAP and IMAP.
    > I already found out that the Mailbox-folder in GWCient is the root
    > folder in SOAP and the INBOX in IMAP - That's OK.
    > But the folder 'Sent Items' behaves diffrently - in SOAP you find sent
    > Items in the root folder - the 'sent Items'-folder in GWClient is a
    > search result folder. But the name in IMAP varies. It seems that the
    > folowing happens:
    > if you have a new mailbox (POA: english) and you log in with a german
    > client, the system creates(?) a set Items folder named
    > 'Ausgangsnachrichten'. Using IMAP the name of the folder is 'Sent
    > Items'. That's quite easy and OK.
    > But if you have a Mailbox that is some years old and was migrated with
    > the Groupwise Versions, that folder CAN have the name
    > 'Ausgangsnachrichten' in IMAP too. Alternatively, you can have a folder
    > 'sent Items' in GWClient and 'Ausgangsnachrichten' in IMAP. that all
    > depends of the languages of POAs and GWClients the Mailbox was accessed
    > with. (I don't dare to imagine, how this would look in simplified
    > Chinese :-)) ). Not to speak of cases, when the user had renamed the
    > folder.
    > I now have the case that a user has created folders with Umlauts in the
    > name. I currently don't kown how IMAP handles Umlauts.
    >
    > For all that reasons I will try to switch to HTTP-Streaming to get the
    > messages, then I don't need to know the foldername, I simply use the id.
    > (see my next post)
    >
    >
    > Thanks a lot
    >
    > Rainer
    >
    >
    >
    >
    >
    > Preston Stephenson schrieb:
    >> I'm not sure exactly what you are saying. In Bonsai, you will be able
    >> to specify what language to use in the loginRequest. The folder
    >> names will be in that language. So the folders will match the folder
    >> names as if you logged in with the GWClient. Is that sufficient? Or,
    >> do you have a problem with INBOX vs Mailbox?
    >>
    >> Preston
    >>
    >>>>> On Friday, July 04, 2008 at 4:42 AM, Rainer

    >> Backes<rbackesno@spambond.de>
    >> wrote:
    >>> Hi,
    >>>
    >>> I'm still with my archiving application (see some posts before). Now
    >>> I've got a new problem:
    >>>
    >>> I scan the mailboxes for new Items using SOAP (the read cursor calls,
    >>> with retention TS). Because I have to send the items with SMTP to the
    >>> archiving box (it's an appliance called EMA), I fetch the mails etc.
    >>> using IMAP, then they come in the right format and I only have to
    >>> forward them. Now the problem:
    >>>
    >>> When everything is (and was) English, there are no problems with
    >>> foldernames etc, except that the / (root folder) in SOAP is dispayed
    >>> in Mailbox and Sent Items in the GW Client and as INBOX and Sent
    >>> Items in

    >> IMAP.
    >>> It now seems to me that depending on the GroupWise Version (and POA
    >>> Language) the Mailbox was created and the Version and Language the
    >>> first Client that connected to that box, the names in the Client,
    >>> visible via SOAP and visible via IMAP differ completely.
    >>> Because I have to select the folder in IMAP first (before getting the
    >>> mail using the GUID), I need the correct IMAP folder name, otherwise
    >>> I can't get the message.
    >>>
    >>> Thanks a lot for your help
    >>>
    >>> Rainer

    >>

    >

    Why not use SOAP entirely and convert it to MIME yourself? If you argue
    "but then it's artificial", I'll reply "It is in IMAP too. It only
    returns the 'true' mime, if there is a mime.822 attachment. Which you
    can see in SOAP and preferentially grab that if it does exist, and only
    fake the conversion (which GW would do anyway) if it does not"


  5. #5
    Preston Stephenson NNTP User

    Re: Folder Confusion

    So, if needed, you can get the MIME.822 from any email in GroupWise
    using the HTTP GET method in Bonsai.
    For the folder issue, we tell users to use the FolderType on the folder
    and not try to match the folder name.

    Preston

    >>> On Tuesday, July 08, 2008 at 10:06 AM, Michael

    Bell<mikeNOSPAMbell90@yahoo.com>
    wrote:
    > Rainer Backes wrote:
    >> As you might remember, I'm currently using IMAP to get the messages in
    >> MIME format. The confusion I have so not between SOAP and GWClient, it
    >> is between SOAP and IMAP.
    >> I already found out that the Mailbox-folder in GWCient is the root
    >> folder in SOAP and the INBOX in IMAP - That's OK.
    >> But the folder 'Sent Items' behaves diffrently - in SOAP you find sent
    >> Items in the root folder - the 'sent Items'-folder in GWClient is a
    >> search result folder. But the name in IMAP varies. It seems that the
    >> folowing happens:
    >> if you have a new mailbox (POA: english) and you log in with a german
    >> client, the system creates(?) a set Items folder named
    >> 'Ausgangsnachrichten'. Using IMAP the name of the folder is 'Sent
    >> Items'. That's quite easy and OK.
    >> But if you have a Mailbox that is some years old and was migrated with
    >> the Groupwise Versions, that folder CAN have the name
    >> 'Ausgangsnachrichten' in IMAP too. Alternatively, you can have a folder
    >> 'sent Items' in GWClient and 'Ausgangsnachrichten' in IMAP. that all
    >> depends of the languages of POAs and GWClients the Mailbox was accessed
    >> with. (I don't dare to imagine, how this would look in simplified
    >> Chinese :-)) ). Not to speak of cases, when the user had renamed the
    >> folder.
    >> I now have the case that a user has created folders with Umlauts in the
    >> name. I currently don't kown how IMAP handles Umlauts.
    >>
    >> For all that reasons I will try to switch to HTTP-Streaming to get the
    >> messages, then I don't need to know the foldername, I simply use the id.
    >> (see my next post)
    >>
    >>
    >> Thanks a lot
    >>
    >> Rainer
    >>
    >>
    >>
    >>
    >>
    >> Preston Stephenson schrieb:
    >>> I'm not sure exactly what you are saying. In Bonsai, you will be able
    >>> to specify what language to use in the loginRequest. The folder
    >>> names will be in that language. So the folders will match the folder
    >>> names as if you logged in with the GWClient. Is that sufficient? Or,
    >>> do you have a problem with INBOX vs Mailbox?
    >>>
    >>> Preston
    >>>
    >>>>>> On Friday, July 04, 2008 at 4:42 AM, Rainer
    >>> Backes<rbackesno@spambond.de>
    >>> wrote:
    >>>> Hi,
    >>>>
    >>>> I'm still with my archiving application (see some posts before). Now
    >>>> I've got a new problem:
    >>>>
    >>>> I scan the mailboxes for new Items using SOAP (the read cursor calls,
    >>>> with retention TS). Because I have to send the items with SMTP to the
    >>>> archiving box (it's an appliance called EMA), I fetch the mails etc.
    >>>> using IMAP, then they come in the right format and I only have to
    >>>> forward them. Now the problem:
    >>>>
    >>>> When everything is (and was) English, there are no problems with
    >>>> foldernames etc, except that the / (root folder) in SOAP is dispayed
    >>>> in Mailbox and Sent Items in the GW Client and as INBOX and Sent
    >>>> Items in
    >>> IMAP.
    >>>> It now seems to me that depending on the GroupWise Version (and POA
    >>>> Language) the Mailbox was created and the Version and Language the
    >>>> first Client that connected to that box, the names in the Client,
    >>>> visible via SOAP and visible via IMAP differ completely.
    >>>> Because I have to select the folder in IMAP first (before getting the
    >>>> mail using the GUID), I need the correct IMAP folder name, otherwise
    >>>> I can't get the message.
    >>>>
    >>>> Thanks a lot for your help
    >>>>
    >>>> Rainer
    >>>

    >>

    > Why not use SOAP entirely and convert it to MIME yourself? If you argue
    > "but then it's artificial", I'll reply "It is in IMAP too. It only
    > returns the 'true' mime, if there is a mime.822 attachment. Which you
    > can see in SOAP and preferentially grab that if it does exist, and only
    > fake the conversion (which GW would do anyway) if it does not"


  6. #6
    Rainer Backes NNTP User

    Re: Folder Confusion

    Preston, I know now that I have to wait for Bonsai to get that feature.
    But my customers NOW beat me because I can't get all their Emails out of
    their Mailboxes to the archive, so the success of my solution depends on it.
    Michael, I simply was too lazy to write (and test) that whole
    'expensive code' (as Preston states) by myself. But it looks as if I
    don't have another choice.

    Rainer

    Preston Stephenson schrieb:
    > So, if needed, you can get the MIME.822 from any email in GroupWise
    > using the HTTP GET method in Bonsai.
    > For the folder issue, we tell users to use the FolderType on the folder
    > and not try to match the folder name.
    >
    > Preston
    >
    >>>> On Tuesday, July 08, 2008 at 10:06 AM, Michael

    > Bell<mikeNOSPAMbell90@yahoo.com>
    > wrote:
    >> Rainer Backes wrote:
    >>> As you might remember, I'm currently using IMAP to get the messages in
    >>> MIME format. The confusion I have so not between SOAP and GWClient, it
    >>> is between SOAP and IMAP.
    >>> I already found out that the Mailbox-folder in GWCient is the root
    >>> folder in SOAP and the INBOX in IMAP - That's OK.
    >>> But the folder 'Sent Items' behaves diffrently - in SOAP you find sent
    >>> Items in the root folder - the 'sent Items'-folder in GWClient is a
    >>> search result folder. But the name in IMAP varies. It seems that the
    >>> folowing happens:
    >>> if you have a new mailbox (POA: english) and you log in with a german
    >>> client, the system creates(?) a set Items folder named
    >>> 'Ausgangsnachrichten'. Using IMAP the name of the folder is 'Sent
    >>> Items'. That's quite easy and OK.
    >>> But if you have a Mailbox that is some years old and was migrated with
    >>> the Groupwise Versions, that folder CAN have the name
    >>> 'Ausgangsnachrichten' in IMAP too. Alternatively, you can have a folder
    >>> 'sent Items' in GWClient and 'Ausgangsnachrichten' in IMAP. that all
    >>> depends of the languages of POAs and GWClients the Mailbox was accessed
    >>> with. (I don't dare to imagine, how this would look in simplified
    >>> Chinese :-)) ). Not to speak of cases, when the user had renamed the
    >>> folder.
    >>> I now have the case that a user has created folders with Umlauts in the
    >>> name. I currently don't kown how IMAP handles Umlauts.
    >>>
    >>> For all that reasons I will try to switch to HTTP-Streaming to get the
    >>> messages, then I don't need to know the foldername, I simply use the id.
    >>> (see my next post)
    >>>
    >>>
    >>> Thanks a lot
    >>>
    >>> Rainer
    >>>
    >>>
    >>>
    >>>
    >>>
    >>> Preston Stephenson schrieb:
    >>>> I'm not sure exactly what you are saying. In Bonsai, you will be able
    >>>> to specify what language to use in the loginRequest. The folder
    >>>> names will be in that language. So the folders will match the folder
    >>>> names as if you logged in with the GWClient. Is that sufficient? Or,
    >>>> do you have a problem with INBOX vs Mailbox?
    >>>>
    >>>> Preston
    >>>>
    >>>>>>> On Friday, July 04, 2008 at 4:42 AM, Rainer
    >>>> Backes<rbackesno@spambond.de>
    >>>> wrote:
    >>>>> Hi,
    >>>>>
    >>>>> I'm still with my archiving application (see some posts before). Now
    >>>>> I've got a new problem:
    >>>>>
    >>>>> I scan the mailboxes for new Items using SOAP (the read cursor calls,
    >>>>> with retention TS). Because I have to send the items with SMTP to the
    >>>>> archiving box (it's an appliance called EMA), I fetch the mails etc.
    >>>>> using IMAP, then they come in the right format and I only have to
    >>>>> forward them. Now the problem:
    >>>>>
    >>>>> When everything is (and was) English, there are no problems with
    >>>>> foldernames etc, except that the / (root folder) in SOAP is dispayed
    >>>>> in Mailbox and Sent Items in the GW Client and as INBOX and Sent
    >>>>> Items in
    >>>> IMAP.
    >>>>> It now seems to me that depending on the GroupWise Version (and POA
    >>>>> Language) the Mailbox was created and the Version and Language the
    >>>>> first Client that connected to that box, the names in the Client,
    >>>>> visible via SOAP and visible via IMAP differ completely.
    >>>>> Because I have to select the folder in IMAP first (before getting the
    >>>>> mail using the GUID), I need the correct IMAP folder name, otherwise
    >>>>> I can't get the message.
    >>>>>
    >>>>> Thanks a lot for your help
    >>>>>
    >>>>> Rainer

    >> Why not use SOAP entirely and convert it to MIME yourself? If you argue
    >> "but then it's artificial", I'll reply "It is in IMAP too. It only
    >> returns the 'true' mime, if there is a mime.822 attachment. Which you
    >> can see in SOAP and preferentially grab that if it does exist, and only
    >> fake the conversion (which GW would do anyway) if it does not"

    >



  7. #7
    Tommy Mikkelsen NNTP User

    Re: Folder Confusion

    Since you do code in Pascal...Ref. other thread, you might consider
    this as well.....

    1) Grap the mime.822 attachment using soap if present, and if not,
    spawn a com-based app on the windows box hosting your app.....

    Do a trusted Login as the user, and export the thingy using tokens....
    With 7.0.3, there's a token to save a mail as mime called


    Quating a post from the token fora:

    From: "Tommy Mikkelsen" <tm@NoDevSpAmitq.dk>
    Subject: Announcment.....New functionallity, that's not in the docs
    Date: Wed, 06 Feb 2008 23:37:11 GMT
    Message-ID: <Hwrqj.30609$k06.6202@kovat.provo.novell.com>
    Newsgroups: novell.devsup.gwtoken

    If running the latest version of GW7.0.2HP, you can now both import and
    export a mime


    The token to import a mime is:
    RetrieveMime
    "Filename" -- name of the file
    "BoxType" one of
    "Inbox|" - 6
    "Outbox" 7
    "Draft" 666
    "Personal 198
    "FolderName" optional folder name to save it in
    "CreateFolder" boolean optional, if true create the folder if not there

    The token to save the message as a mime is:
    ItemSaveMessage

    "MessageID" - message to save or 00 for the current one
    "Filename" -- where to save it
    "FileFormat" one of
    "AnsiText" 106
    "Mime" 900
    "RichText" 899
    "WordPerfect60" 269


    --
    /Tommy

  8. #8
    Michael Bell NNTP User

    Re: Folder Confusion

    eh, tommy that's ingenious but sounds like a seriously slow and ugly
    deck o cards :)

    Tommy Mikkelsen wrote:
    > Since you do code in Pascal...Ref. other thread, you might consider
    > this as well.....
    >
    > 1) Grap the mime.822 attachment using soap if present, and if not,
    > spawn a com-based app on the windows box hosting your app.....
    >
    > Do a trusted Login as the user, and export the thingy using tokens....
    > With 7.0.3, there's a token to save a mail as mime called
    >
    >
    > Quating a post from the token fora:
    >
    > From: "Tommy Mikkelsen" <tm@NoDevSpAmitq.dk>
    > Subject: Announcment.....New functionallity, that's not in the docs
    > Date: Wed, 06 Feb 2008 23:37:11 GMT
    > Message-ID: <Hwrqj.30609$k06.6202@kovat.provo.novell.com>
    > Newsgroups: novell.devsup.gwtoken
    >
    > If running the latest version of GW7.0.2HP, you can now both import and
    > export a mime
    >
    >
    > The token to import a mime is:
    > RetrieveMime
    > "Filename" -- name of the file
    > "BoxType" one of
    > "Inbox|" - 6
    > "Outbox" 7
    > "Draft" 666
    > "Personal 198
    > "FolderName" optional folder name to save it in
    > "CreateFolder" boolean optional, if true create the folder if not there
    >
    > The token to save the message as a mime is:
    > ItemSaveMessage
    >
    > "MessageID" - message to save or 00 for the current one
    > "Filename" -- where to save it
    > "FileFormat" one of
    > "AnsiText" 106
    > "Mime" 900
    > "RichText" 899
    > "WordPerfect60" 269
    >
    >


  9. #9
    Tommy Mikkelsen NNTP User

    Re: Folder Confusion

    LOL, and yes......

    But if a solution is needed for GW7, this might do the trick....

    Building a mime yourself isn't just something you do in a split sec.


    --
    /Tommy

  10. #10
    Rainer Backes NNTP User

    Re: Folder Confusion

    That's why I tried the way using IMAP......

    Tommy Mikkelsen schrieb:
    > LOL, and yes......
    >
    > But if a solution is needed for GW7, this might do the trick....
    >
    > Building a mime yourself isn't just something you do in a split sec.
    >
    >



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •