[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement of mailer_t delivery API.

From: Alain Magloire
Subject: Re: Enhancement of mailer_t delivery API.
Date: Wed, 14 Nov 2001 12:59:11 -0500 (EST)

> I will have something for you later.

Use a wicket_t:
        wicket_t wicket = NULL;
        ticket_t ticket = NULL;
        mailbox_t mbox = NULL;
        folder_t folder = NULL;
        authority_t auth = NULL;

        wicket_create (&wicket, "/home/alain/.tickets");
        wicket_get_ticket (wicket, "alain", NULL, &ticket);

        mailbox_create (&mbox, "imap://localhost");
        mailbox_get_folder (mbox, &folder);
        folder_get_authority (folder, &auth);
        authority_set_ticket (auth, ticket);

It does not solve all, but it is a start.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]