Skip to main content

API question

Comments

11 comments

  • cPRex Jurassic Moderator
    Hey there! I don't have any tools that would perform such an action at this time. You would likely need to create a custom tool to perform that work. I'm sorry I don't have a better option for you at this time.
    0
  • akramalsaidi9
    Hey there! I don't have any tools that would perform such an action at this time. You would likely need to create a custom tool to perform that work. I'm sorry I don't have a better option for you at this time.

    Perfect but how can i retrieve all email from cpanel by PHP API please ? also how can i include this path in public_html ? require_once "/usr/local/cpanel/php/cpanel.php";
    0
  • ffeingol
    If you just want to automatically read/reply to email via PHP you don't need any cPanel API. cPanel email just uses standard POP/IMAP to read and SMTP to send. Any PHP class libraries that handle those protocols would work.
    0
  • akramalsaidi9
    If you just want to automatically read/reply to email via PHP you don't need any cPanel API. cPanel email just uses standard POP/IMAP to read and SMTP to send. Any PHP class libraries that handle those protocols would work.

    we do not need to send from gmail, but we need to send and replay by our dashboard if there any api can you tel me about it thanks .
    0
  • cPRex Jurassic Moderator
    As @ffeingol mentioned, there isn't an API to retrieve email as there are other tools for that work.
    0
  • akramalsaidi9
    As @ffeingol mentioned, there isn't an API to retrieve email as there are other tools for that work.

    I,ve issue whan i import repo from gitlab /usr/local/cpanel/3rdparty/bin/git" reported error code "128" when it ended: git@gitlab.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
    0
  • cPRex Jurassic Moderator
    That seems like a specific issue with access to the Git repo with the key.
    0
  • akramalsaidi9
    That seems like a specific issue with access to the Git repo with the key.

    you do not have access to the domain 'allmy.onlne' i,ve issue wewn i create email by php to cpanel ? how can sorte it plese ?
    0
  • cPRex Jurassic Moderator
    The Git repo would not be using the same key as the API call, so those would be separate issues. You'd want to ensure the user you are running the API call with controls that cPanel account.
    0
  • akramalsaidi9
    The Git repo would not be using the same key as the API call, so those would be separate issues. You'd want to ensure the user you are running the API call with controls that cPanel account.

    I,ve this issue how i can sorte it please ?
    0
  • cPRex Jurassic Moderator
    The Email Reader application isn't part of cPanel, so I can't say for sure what would be wrong with that. It looks like the application is expecting to see an IMAP configuration, but it is receiving something else, so checking the settings in the application would be the best first step.
    0

Please sign in to leave a comment.