Re: vpopmail_add_user
| From: | nabil | Date: | Tue, 20 May 2003 08:35:36 +0000 |
| Subject: | Re: vpopmail_add_user | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148267@lists.php.net to get a copy of this message | ||
Thanks Tom for ur reply..
Actualy i have no exact problem with it, but i m trying create a vdomain
then anable my php code to create a vpop mail account on the server ..
The situation is that i use PLESK to create a new v-mailboxes on my virtual
domains, and i want to get rid of any non open source application.
so i decided to write my php code to do it... if you could help me more it
will be very nice of you.
Best regards
Nabil
"Tom Rogers" <trogers@kwikin.com> wrote in message
news:965936106.20030520174825@kwikin.com...
> Hi,
>
> Tuesday, May 20, 2003, 4:49:35 PM, you wrote:
> n> Any one can help me with vpopmail_add_user ...
> n> i want to create a virtual mailbox to a non linux user, as a free
mailbox
> n> can any user register himself ..
>
> n> Nabil
> You should explain what 'exacxtly' your problem is as this is a bit
vague....
> A lot depends how you have vpopmail setup to do password checking, I
> use vpasswd checking and do something like this:
>
> if(!vpopmail_add_user($_POST['uname'],$domain,$_POST['pword'])){
> echo 'Failed to add user '.$_POST['uname'].'<br>';
> }
>
> If you have a busy site it is better to run the exec command to use
> the vpopmail binaries as you may get into file locking problems with
> the builtin vpopmail functions (speaking from old experience, YMMV)
> --
> regards,
> Tom
>