Case Creation Email not Sending


I create case by code and contact by code and relate contact and case like this :

	$ocontact = BeanFactory::getBean("Contacts", $contact_id);
        // Doing something here for send "Case Creation" Email Template ?        

All is perfectly created in SuiteCRM.
But, a have AOP active, for normal inbound mail, the AOP create Case, and Send “Case Creation” Template to Contact.

In my Case and Contact create by code, “Case Creation” Email is not send !!
But I can bypass by user interaction : remove relation contact case … and then relate again and the mail is send.

Who can help me for “fire” this hook for send “Case Creation” Email Template ?


Resolved by


Cool. Maybe you can add your experience on that Github Issue, it might help get it merged… Thanks