Skip to content

Missing send_each_at option #989

@prayashm

Description

@prayashm

Issue Summary

Unable to use send_each_at option for scheduled emails as documented here:
https://sendgrid.com/docs/for-developers/sending-email/scheduling-parameters/#send-each-at

I intend to send mails to people at a fixed time in their timezone e.g. 10am IST and 10am GMT.

Steps to Reproduce

  1. Send with mail.send_each_at = [1620766504, 1620767504]
  2. The emails come instantly, instead of at the scheduled time

Code Snippet

mail = Mail(
	from_email=From('[email protected]'),
	to_emails=[To('[email protected]'), To('[email protected]')],
	is_multiple=True,
)

mail.send_each_at = [1620766504, 1620767504]

client.send(mail)

Exception/Log

# no exception, code executes successfully.

Technical details:

  • sendgrid-python version: 6.6.0
  • python version: 3.7.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions