- Issue created by @akshita
- Status changed to Postponed
almost 2 years ago 2:54pm 28 February 2023 - πΊπΈ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 5:28am 1 March 2023 - π§π·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:
- $webform_id (optional): You can pass the webform ID you want the cron task to be executed for
- $handler_id (optional as well): You can pass the handler ID you want the cron task to be executed for
- 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
- 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:
- $webform_id (optional): You can pass the webform ID you want the cron task to be executed for
- $handler_id (optional as well): You can pass the handler ID you want the cron task to be executed for
- 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
- 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 4:35pm 4 October 2023 - π¨π¦Canada Liam Morland Ontario, CA π¨π¦
Presuming fixed. Re-open if you need more help.
Automatically closed - issue fixed for 2 weeks with no activity.