Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email: Subdirectory/Mailbox Creation

Discussion in 'cPanel Developers' started by Michael Turner, Apr 3, 2017.

Tags:
  1. Michael Turner

    Joined:
    Mar 31, 2017
    Messages:
    18
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Tampa, FL
    cPanel Access Level:
    DataCenter Provider
    Fumbling through the documentation, I dont see any way to create a new email mailbox / subdirectory. Is there a technique to create subdirectories?
    /Michael
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Michael,

    The following UAPI function is available for creating email accounts:

    UAPI Functions - Email::add_pop - Software Development Kit - cPanel Documentation

    The default directories associated with email accounts are created automatically once the email account is setup. As far as custom mail folders, there's no corresponding API function for that because custom email folders are created in the email or webmail client.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice