mhermann Posted May 6, 2020 Share Posted May 6, 2020 Hi everyone. I am trying to send a client email with a custom template. $command = 'SendEmail'; $postData = array( 'messagename' => '***mytemplatename***', 'id' => 10052, 'customvars' => base64_encode(serialize($customvars)), ); return $results = localAPI($command, $postData); It returns success but I get the following activity-log-entry: "Email Sending Failed - No recipients provided for message (Subject: ***mysubject*** )" Any idea? 0 Quote Link to comment Share on other sites More sharing options...
mhermann Posted May 6, 2020 Author Share Posted May 6, 2020 Sorry so dumm.... I created an email template of type notification. With type general ID was the userid so it is working now. 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.