如何通过PHP在Cpanel中创建电子邮件帐户? [英] How to create an Email Account in Cpanel via PHP?
问题描述
如何使用cPanel的xmlapi.php库通过PHP创建电子邮件帐户?
How do I create email accounts with PHP using the xmlapi.php library from cPanel?
注意:我需要创建1000个以上的电子邮件帐户,并想知道是否可以这样做.
Note: I need to create more than 1000 email accounts and want to know if this is possible.
谢谢.
推荐答案
更新
我已经更新了您的问题,并根据此问题提供了答案.
I have updated your question and based on that providing this answer.
1..我看到了一堆用于cPanel的用于管理服务器的API.虽然我没有找到用于创建新电子邮件帐户的直接API,但是找到了一个可以帮助您创建电子邮件帐户的脚本.
1. I see bunch of API's for cPanel for managing the server. Though I don't find a direct API for creating a new email account, but found a script which would help you creating email account.
请参阅此链接:
http://www.zubrag.com/scripts/cpanel -create-email-account.php
http://forums.cpanel.net/f42/xmlapi -php-class-111897.html
这篇关于如何通过PHP在Cpanel中创建电子邮件帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!