Configuring a default source_contact_id for the Mandrill Email activity
Created by: mmikitka
On line 164 of mte.php, the $session->get('userID') is used as the source_contact_id. In the event that an Anonymous user triggers the email activity (e.g., a webform_civicrm submission), the session user ID does not exist and the activity is not created (the email is sent, though).
What are your thoughts on the best approach to configuring and using a default contact ID in the event of Anonymous activity invocation? Add a config file to the mte extension which includes the default user ID? Modify the CRM_Utils_Mail::send function to accept a source_contact_id and pass it along to hooks?
Thanks