sikas
sikas

Reputation: 5523

Access CPanel Webmail using PHP

I have a domain and CPanel account with a host from which I can create email accounts.

I want to write a PHP script to connect to any of the created email accounts provided the username and password and view all the emails sent to this email inbox.

If this is possible I would like to have a guide in creating this kind of script.

Upvotes: 1

Views: 3646

Answers (2)

Baadier Sydow
Baadier Sydow

Reputation: 504

I agree with Darren 100% there is no need to use Cpanel API to connect to the email,the email is still email and will work with conventional POP3 or IMAP protocols as mentioned above.

Upvotes: 0

Darren
Darren

Reputation: 11011

You want to use POP3 or IMAP protocols that doesn't have anything to do with cPanel. Otherwise for cPanel account functions you would want to use their API at http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/XmlApi#Account functions.

Upvotes: 0

Related Questions