Welio Posted August 3, 2013 Share Posted August 3, 2013 Hi, when i order a package email with account information not send automatically. All email for invoice and order are sent correctly. I set correctly welcome email in service product to "Hosting account welcome email" and email template exists. If i send email manually in whmcs it works. Who can help me? Regards Antonio 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 6, 2013 WHMCS Support Manager Share Posted August 6, 2013 Hi, Please start your troubleshooting at http://docs.whmcs.com/Auto_Setup_Issues 0 Quote Link to comment Share on other sites More sharing options...
Welio Posted August 13, 2013 Author Share Posted August 13, 2013 I read all documentation and searched in internet. Logs doesn't catch this error I try to add a template with only test write inside and set this to product as welcome email. But email was not generated. Is generated only if i force to resend welcome email with specific button 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 14, 2013 WHMCS Support Manager Share Posted August 14, 2013 Hi, What entries you you see in Utilities > Logs > Activity Log at the time of ordering please? 0 Quote Link to comment Share on other sites More sharing options...
Welio Posted August 16, 2013 Author Share Posted August 16, 2013 In this log there isn't entry of email for new account. For every one that has my problem i solved with this workaround: I create hook: <?php function send_welio_email($vars) { //send mail $command = "sendemail"; $adminuser = "admin"; $values["messagename"] = "Hosting Account Welcome Email"; $values["id"] = $vars['params']['serviceid']; $results = localAPI($command,$values,$adminuser); //Log to WHMCS $command = "logactivity"; $values["description"] = $results; localAPI($command,$values,$adminuser); } add_hook("AfterModuleCreate",1,"send_welio_email"); ?> 0 Quote Link to comment Share on other sites More sharing options...
Alex - Arvixe Posted August 16, 2013 Share Posted August 16, 2013 In this log there isn't entry of email for new account. For every one that has my problem i solved with this workaround: I create hook: <?php function send_welio_email($vars) { //send mail $command = "sendemail"; $adminuser = "admin"; $values["messagename"] = "Hosting Account Welcome Email"; $values["id"] = $vars['params']['serviceid']; $results = localAPI($command,$values,$adminuser); //Log to WHMCS $command = "logactivity"; $values["description"] = $results; localAPI($command,$values,$adminuser); } add_hook("AfterModuleCreate",1,"send_welio_email"); ?> Thanks for the work around share though it should work without issues. If you want this to be working without using custom hooks maybe create a ticket for them to troubleshoot fully? 0 Quote Link to comment Share on other sites More sharing options...
Welio Posted August 28, 2013 Author Share Posted August 28, 2013 I have a lifetime license purchased from a reseller, so i can't access to whmcs site to open a ticket 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.