$api=new xmlapi('host','username','password');
$api->set_port(2802);
$result=$api->api2_query('username','Email','addpop',array('domain'=>'domain.com','email'=>'email_without_domain','password'=>'password_for_user','quota'=>50));
Just with these few lines it creates the e-mail in cpanel, but i want to put theses lines in a DataSource, so i can use for other clientes too... but my method create always returns true, and never execute what is inside the function create, i´ve readed the book a couple of times, and tryed some examples, but no success...
Can anyone help me with this?
-- Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment