scheduled import email notification not working
When creating a scheduled import, a notification should be sent when the import completes. However the notification never comes.
This is the function that executes the import process (
At the end of the function is the email notification. Since the call of
$vtigerMailer->Send(); does not have a parameter, the email is put into a queue in table
As you can see here, only when passing true as a parameter, does the function send the email right away, otherwise it gets inserted into the above mentioned queue:
For some reason there is an error when trying to send the email via the queue (I'm not sure what or who processes the queue) as you can see from the error "You must provide at least one recipient email address":
Of course I made sure to configure the email smtp account and that my user has a registered email. In fact, when changing the statement
$vtigerMailer->Send(true);, the emails does get sent.
In my opinion we should just make that change and forget about the email queue. Otherwise we would need to fix the queue.