Skip to main content

UAPI Functions - Email::list_pops_with_disk

Comments

11 comments

  • cPanelMichael
    Hello @rdgonzalez, There are currently no UAPI functions that will return information about an individual email account's outgoing suspension status. It makes sense to provide this information as part of the Email::list_pops_with_disk UAPI function's returned data, since it already returns information about an individual email account's incoming email or login suspension status. I've opened internal case CPANEL-21854 to see if we can get the outgoing email suspension status included as part of the data returned by the Email::list_pops_with_disk UAPI function. I'll monitor this case and update this thread with more information as it becomes available. Thank you.
    0
  • cPanelMichael
    Hello @rdgonzalez, To update, it looks like it's already possible to do this via the "get_restrictions" parameter. EX: uapi --user=username Email list_pops_with_disk get_restrictions=1
    Internal case DOC-11207 is now open to ensure this parameter is documented. I'll update this thread again once the documentation update is published. Thank you.
    0
  • rdgonzalez
    Good morning Michael. I did the tests and it works very well. It would be great if we could also get hold status. 53509
    0
  • rdgonzalez
    Thank you very much for the help
    0
  • cPanelMichael
    I did the tests and it works very well. It would be great if we could also get hold status.

    Hello @rdgonzalez, You should see both "hold_outgoing" and "suspended_outgoing" as part of the returned data when using "get_restrictions=1" in the command. EX: # uapi --user=user123 Email list_pops_with_disk get_restrictions=1|grep suspended_outgoing suspended_outgoing: 0 suspended_outgoing: 1 suspended_outgoing: 1 # uapi --user=user123 Email list_pops_with_disk get_restrictions=1|grep hold_outgoing hold_outgoing: 0 hold_outgoing: 0 hold_outgoing: 0
    Thank you.
    0
  • rdgonzalez
    It works very well from the console, but how would the Use WHM API to Call cPanel API and UAPI statement be? 53545
    0
  • cPanelMichael
    Hello, If you are logged in via WHM and you want to run the command via your browser, then you'd append the following to existing URL in your browser (after
    0
  • rdgonzalez
    Correct, thank you very much again for all the help my friend Michael.
    0
  • cPanelMichael
    Hello, You're very welcome. I've marked this thread as solved.
    0
  • cPanelMichael
    Internal case DOC-11207 is now open to ensure this parameter is documented. I'll update this thread again once the documentation update is published.

    Hello, Just following-up to note the documentation is now updated to include information about this parameter: UAPI Functions - Email::list_pops_with_disk - Developer Documentation - cPanel Documentation Thanks!
    0
  • rdgonzalez
    Excelent Michael, thanks so much again.
    0

Please sign in to leave a comment.