limevps Posted April 14, 2012 Share Posted April 14, 2012 As part of my client panel I'd like to show the number of emails that a client has on the link to the email page. Is there a client stat that I can call to retrieve this or is there another way? If there's a way of differentiating between total emails and unread emails, that would be good too 0 Quote Link to comment Share on other sites More sharing options...
m8internet Posted April 14, 2012 Share Posted April 14, 2012 I don't see how that would be possible, unless you had the password for every email account, and WHM/cPanel doesn't allow that (and other control panels are probably the same) However what you could do is include the total disk space (consumption) of the mail folder... If that is useful to you? 0 Quote Link to comment Share on other sites More sharing options...
limevps Posted April 15, 2012 Author Share Posted April 15, 2012 Sorry I wasn't clear - I meant the ability of the client to see WHMCS generated emails from me as their host in their control panel - i.e. as per clientarea.php?action=emails 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 15, 2012 Share Posted April 15, 2012 yes, just create a widget to count the entries in tblemails for their userid there is no way to determine if they've *read* them though. 0 Quote Link to comment Share on other sites More sharing options...
limevps Posted April 16, 2012 Author Share Posted April 16, 2012 yes, just create a widget to count the entries in tblemails for their userid there is no way to determine if they've *read* them though. magic, thanks. I'll give it a go. I now realise there's no way of checking the read/unread thing given they could have read them in their email client! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.