Re: imap_createmailbox
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 22 Jan 2001 18:47:54 +0000 |
| Subject: | Re: imap_createmailbox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36051@lists.php.net to get a copy of this message | ||
On Sun, 21 Jan 2001, Jochen Kächelin wrote:
> i have the following problem:
>
> i have the possibility to create 100 different
> pop-boxes and 100 different email-addresses.
>
> the pop-boxes must have the following name:
>
> wpXXXX-jk, wpXXXX-info and so on where
> XXXX stands for my custumer number an the text
> after the '-' for the part of the email-address
> before the '@'.
>
> when I want to catch all email for
>
> jk@wa-p.de I need the following:
>
> host: mail.domain.de
> username: wpXXXX-jk
> passwort: **********
>
> When I will create a new pop-box and a new email-adress I use
>
> $link=imap_open($MAILSERVER,$username, $passwort, OP_HALFOPEN);
> $test = imap_createmailbox ($link,imap_utf7_encode
> ("{$MAILSERVER}INBOX.$newname"));
>
> But how can I set the passwort for the new created pop-box?
>
> Please help me.
> THANXS!
>
> --
> **********************************************
> * Jochen Kächelin *
> * Ihr WEBberater - Werbeagentur Pulvermüller *
> * Stuttgarter Str. 3 - D-73033 Göppingen *
> * www.wa-p.de - mailto:info@wa-p.de *
> **********************************************
>
You don't, because the function call you're using doesn't actually create any
new accounts; it just creates new folders under the account it's logged in as.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>