Forums › Forums › Community Discussion › Email alerts in hooks.php notworking
Tagged: email alert
This topic contains 3 replies, has 2 voices, and was last updated by tamilamuthan15 1 year, 6 months ago.
After joborder creation hooks.php methods are not working.
function AUIEO_SEND_HOOK_EMAIL ($record)
$obj->load($record["id"]); /* $obj is empty*/
$obj->sendTemplateEMail("My Joborder 2", $emailAddress);
$obj is empty so email has been not sent.
And let me know if you face any further issue.
R. Tamil Amuthan
Auieo Software Private Limited
I debugged more into. I found email_template table does not have Title called “My Joborder 2”. Can you please share all mysql data script (insert) for that table.
So I will update.
You can create the template from User Interface
Please go through http://candidats.auieo.com/courses/candidats-2-0-0/email-template
You must be logged in to reply to this topic.