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!

Reading email account quota from PHP

Discussion in 'E-mail Discussion' started by |Noname|, Jan 18, 2013.

  1. |Noname|

    |Noname| Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Wonder if possible and if so, what file should I read.
    Thanks in advance.
     
  2. cPPhilS

    cPPhilS Member
    Staff Member

    Joined:
    Dec 12, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Disk usage for email accounts are kept in the cpanel datastore like this.

    For the email address: test@testdomain.com

    /home/domtest/.cpanel/datastore/diskusage_test@testdomain.com

    The value is stored here as Bytes. I hope that helps.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. |Noname|

    |Noname| Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Hello mate, thanks for posting.
    What I'm really looking for is not account disk usage, but its limit.
     
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