aaronfc Posted March 11, 2015 Share Posted March 11, 2015 Hi, I have been testing the WHMCS API, and I am having problems disabling automatic emails sent. I do the following calls in order to register a new client and provision a new hosting service for that client (maybe the calls I am doing are not correct, in that case please any suggestion is more than welcome). 1) method: addclient params: ... noemail=true 2) method: addorder params: ... noemail=true 3) method: acceptorder params: ... autosetup=true, noemail=true, sendmail=false ... The problem is that using that process I WHMCS is sending an email to the customer. The email has the subject "Customer Invoice". I want to avoid any communication being sent from WHMCS (I am handling the communciations on my own way). So, ¿why is it sending this email and how could I disable it? My guess is that acceptorder (with autosetup=true) is triggering the provisioning and that process is sending the invoice email. How could I provision the hosting manually if setting autosetup=false ? (Rephrasing the question: What is really doing in the background autosetup=true and how could I imitate that behaviour manually?) Thanks to anybody wanting to help Regards, 0 Quote Link to comment Share on other sites More sharing options...
aaronfc Posted March 11, 2015 Author Share Posted March 11, 2015 Nothing? Please I am a little desperate with this. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted March 13, 2015 Share Posted March 13, 2015 do you need to stop all emails from being sent, or few of them? 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.