Webform Submission Schedule not sending attachment

Created on 27 February 2023, almost 2 years ago
Updated 4 October 2023, about 1 year ago

Hi
I have a simple form with no file uploads. I am successfully receiving submission emails with all the fields as configured but not able to receive schedule task export of all completed submissions. Logs show Scheduled task is executed but no email with submission report is received. Initially Cron was scheduled to run every 1 hour. Please help with your valuable suggestions. Am I missing any modules? I am receiving emails without any issue with mail system so did not install any additional modules as suggested here https://www.drupal.org/node/3021480 β†’

I created an issue here https://www.drupal.org/project/webform_scheduled_tasks/issues/3326997 πŸ’¬ Webform Schedular Task not sending emails Active but no clue what was the issue.

Any advice is appreciated. Thanks in advance

-Akshita

πŸ’¬ Support request
Status

Fixed

Version

6.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States akshita

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @akshita
  • Status changed to Postponed almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    This seems like a support request and not a bug.

    There are Drush commands to send scheduled emails. You can also send them via the admin UI.

  • πŸ‡ΊπŸ‡ΈUnited States akshita

    Thank you @jrockowitz .
    Can you please share a clue where to start to accomplish the scheduled emails using drush commands?

  • Status changed to Needs review almost 2 years ago
  • πŸ‡§πŸ‡·Brazil renatog Campinas

    @Akshita you can run with the following command:

    drush webform:scheduled-email:cron

    or you can use the aliases:

    • drush wfsec
    • drush webform-scheduled-email-cron

    Parameters available:

    1. $webform_id (optional): You can pass the webform ID you want the cron task to be executed for
    2. $handler_id (optional as well): You can pass the handler ID you want the cron task to be executed for
    3. schedule_limit: You can pass the maximum number of emails to be scheduled. If you set to 0 no emails will be scheduled and the default value is 1000
    4. send_limit: You can pass the maximum number of emails to be sent. If you set to 0 no emails will be sent and the default value is 500

    I'm putting as "Needs review" so please let us know if it helps, ok?

  • πŸ‡§πŸ‡·Brazil renatog Campinas

    Moving to "Support Request" because really seems more related with Support request than a bug as cited at #2

  • πŸ‡§πŸ‡·Brazil renatog Campinas

    @Akshita you can run with the following command:

    drush webform:scheduled-email:cron

    or you can use the aliases:

    • drush wfsec
    • drush webform-scheduled-email-cron

    Parameters available:

    1. $webform_id (optional): You can pass the webform ID you want the cron task to be executed for
    2. $handler_id (optional as well): You can pass the handler ID you want the cron task to be executed for
    3. schedule_limit: You can pass the maximum number of emails to be scheduled. If you set to 0 no emails will be scheduled and the default value is 1000
    4. send_limit: You can pass the maximum number of emails to be sent. If you set to 0 no emails will be sent and the default value is 500

    You can see more information here: https://git.drupalcode.org/project/webform/-/blob/6.1.4/modules/webform_...

    I'm moving as "Needs review" so please let us know if it helped, ok?

  • πŸ‡ΊπŸ‡ΈUnited States akshita

    Thank you @RenatoG.
    I am not sure where exactly, I need to start to send an email with submissions automatically when cron job is executed with drush commands.

    Sorry for asking more details on this.

  • Status changed to Fixed about 1 year ago
  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    Presuming fixed. Re-open if you need more help.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024