![]() ![]() I had to learn from trial and error that the emailtrack_search API call fetches only 250 records at a time, even though the documentation says " If you set max_results_by_type parameter to 0, the function returns unlimited results."Īlso, the filter field is supposed to match against the name of one of the function's returns, but I found that it doesn't filter with actionunixtime it does filter with sendunixtime, so that's fine, but undocumented. They recommend using their latest UAPI, which doesn't have some functions that WHM API 1 has. They have 5 different APIs some work with the other, some don't. This wasn't as simple as I thought it would be. To ease the suffering, I decided to write a PHP script that connects to the WHM API and automates this process. So, you have to fetch records in smaller batches and then compile them into your spreadsheet. ![]() When dealing with 1000s of records, this gets more complicated, because WHM limits the number of records it displays on each query. ![]() Do you need to generate an email delivery report after sending out a newsletter? Or create an email delivery report for a client who complains that their emails are not being delivered? This used to be a tedious, manual process of logging into the WHM panel, filtering the required records in the Mail Delivery Reports module, and then copying, pasting and formatting the data into a spreadsheet, to be presentable to the end-client. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |