Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • V vtigercrm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 531
    • Issues 531
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 45
    • Merge requests 45
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]

  • vtiger
  • vtigercrm
  • Issues
  • #1318
Closed
Open
Issue created Jun 16, 2020 by Ruben A. Estrada@ruben.estradaContributor

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 (Import_Data_Action):

image

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 vtiger_mailer_queue.

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:

image

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":

image

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(); to $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.

Assignee
Assign to
Time tracking

Copyright 2023 Vtiger. All rights reserved.