UAPI Functions - Email::list_pops_with_disk
Best regards.
The help I need is the following: Is there any UAPI that shows the status of the suspension in the mail (suspended_outgoing)?
53429
-
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 -
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 -
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 -
Thank you very much for the help 0 -
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 -
It works very well from the console, but how would the Use WHM API to Call cPanel API and UAPI statement be? 53545 0 -
Correct, thank you very much again for all the help my friend Michael. 0 -
Hello, You're very welcome. I've marked this thread as solved. 0 -
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 -
Excelent Michael, thanks so much again. 0
Please sign in to leave a comment.
Comments
11 comments