Nullified Posted April 16, 2015 Share Posted April 16, 2015 I have a custom cronjob that syncs enom product/domain pricing with my shopping cart. I want to send a summary email with changes/exemptions after completion of the cronjob. How do I access the mail function that the daily cronjob uses to send the system cronjob results to the admins? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 16, 2015 Share Posted April 16, 2015 How do I access the mail function that the daily cronjob uses to send the system cronjob results to the admins? in cron job file, if you have the source code file you will be able to see the API call that sends this email 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted April 16, 2015 Author Share Posted April 16, 2015 in cron job file, if you have the source code file you will be able to see the API call that sends this emailI'll get right to it; let me just whip out my ionCube decrypter and take a crack at it... 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted April 21, 2015 Author Share Posted April 21, 2015 Anything??? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted April 28, 2015 WHMCS Developer Share Posted April 28, 2015 You wouldn't be able to access the direct functions that the cron file does, however we have a documented API command for you to be able to send your own admin emails: http://docs.whmcs.com/API:Send_Admin_Email hope this helps, 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted April 28, 2015 Author Share Posted April 28, 2015 It does help. TYVM. 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.