> ----- Original Message -----
>   From: hareram
>   To: vchkpw@inter7.com
>   Sent: Wednesday, June 04, 2008 6:30 AM
>   Subject: [vchkpw] Fw: [qmr] adding domian and users using php

<snip>

> Not a complete php expert, but I believe $resultd is always going to be
> set because vaddomain always returns some sort of result or error. I
> forget the output at this point, but there is a specific string that is
> spit out when the domain is added successfully. I would probably parse for
> that as for success and then echo $resultd in the else statement. There is
> also a great PEAR module that has been created that lets you create an
> object to work with vpopmaild. May take a little extra work to setup, but
> probably worth it in the long wrong. All the hard stuff has been done for
> you.

I second that.  Use vpopmaild and Net_Vpopmaild to manage vpopmail from PHP.

http://pear.php.net/package/Net_Vpopmaild

!DSPAM:4846e7b532358543010717!

Reply via email to