The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reading email account quota from PHP

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

  1. |Noname|

    |Noname| Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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:
    7
    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.
     
  3. |Noname|

    |Noname| Well-Known Member

    Joined:
    Aug 6, 2003
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Hello mate, thanks for posting.
    What I'm really looking for is not account disk usage, but its limit.
     
Loading...

Share This Page