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.

Mail Delivery Reports API

Discussion in 'cPanel Developers' started by gayan, Jul 18, 2012.

  1. gayan

    gayan Member

    Joined:
    Jun 21, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    It's been a while on this forum. Anyways I'm in a unique situation or maybe some of you have come across this situation earlier.

    One of my clients wants get some email reports on a few accounts under their domain. He mainly these people have sent replies to the emails they have received. I can generate a report manually via the titled feature, but doing this on a weekly basis is too much work for me.

    So I's like to use a php script which will call on API functions triggered by a cron a job to generate the results and them email it to the relevent person.

    So my main question is that whether is there an API for this feature and if so can anyone direct me to the guide.

    the other question is, IS this doable?


    Thanks in advance.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm sorry, I can't answer that. But I can move this thread to the developers forum. Hopefully you'll find some help here.

    Please be patient, HostingCon is this week and cPanelDavidN who posts to this area on a regular basis is away at that convention.
     
  3. gayan

    gayan Member

    Joined:
    Jun 21, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the update.

    I'll keep watch of this thread. If there is a way to do this, I'll go ahead and make something up ;)
     
  4. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi gayan,

    The new mail delivery reports feature available via WHM does not have documented API calls. I put in a query to get more information. Hopefully we'll hear something in a few days and we can get you what you need.

    Regards,
    -DavidN
     
  5. gayan

    gayan Member

    Joined:
    Jun 21, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi David,

    Thanks for the update. Will wait to hear from you.

    Regards
     
  6. gayan

    gayan Member

    Joined:
    Jun 21, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi David,

    Any news on this?

    Regards
     
  7. WooDzu

    WooDzu Registered

    Joined:
    May 21, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    There is a mysql database in cpanel: eximstats with 4 tables:
    - defers
    - failures
    - sends
    - smtp

    I think it should be possible to query these tables to get some delivery stats. This is what I need to do on my serv. Recently We've had an enormous amount of undelivered registration confirmation emails (containing link to activate users' accounts).
    I just hope that Cpanel dev team would be able to put some light on this and explain whether these DB tables could be used to pull out the info whether an registration email has been sent successfully.

    Regars,
    Peter
     
  8. LaceHost-Ishan

    LaceHost-Ishan Active Member

    Joined:
    Dec 6, 2008
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Pune, India
    cPanel Access Level:
    DataCenter Provider
    David,
    Any update for this API ?

    We have a lot of clients requesting this in our CentralCP cpanel software.
     
  9. prashantkumar55

    prashantkumar55 Registered

    Joined:
    Mar 15, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello ,
    i too need the help to get delivery reports stats as given in whm panel for one of my client as i don't want to share any whm credentials with client. looking for a api to can you help me.
     
Loading...

Share This Page