使用WHM / Cpanel通过PHP创建电子邮件 [英] Creating Emails via PHP with WHM/Cpanel
问题描述
我正在使用WHM / Cpanel管理我的网站。我在Hostgator上的VPS服务器上。我想通过PHP动态创建电子邮件帐户。有谁知道我可能需要这样做吗?任何好的资源?他们可以共享给我的书籍或代码可以去做吗?
I am using WHM/Cpanel to manage my sites. I am on a VPS server on Hostgator. I want to create email accounts dynamically via PHP. Does anyone know what I might need in order to do this ? Any good resources ?? Books or code they can share for me to go about doing this ?
我只处理一个cpanel帐户,而不是多个帐户,所以我认为我只需要cpanels API。
I am only dealing with one cpanel account, not multiple accounts, so I figured i would just need the cpanels API.
推荐答案
以下帖子对此进行了详细说明:
The following posts contain some detailed explanation of this:
http://forums.cpanel.net/f42/create-email-account-using-api-121741。 html
使用cPanel-Matt的XMLAPI php类是推荐的方法,您可以在此处找到:
Using cPanel-Matt's XMLAPI php class is the recommended way to do this which you can find here:
http://forums.cpanel.net/f42/ xmlapi-php-class-111897.html
这篇关于使用WHM / Cpanel通过PHP创建电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!