Skip to content

Conversation

@jwoertink
Copy link
Member

This PR adds in a new send_at field for the Sendgrid API.

image

This value can be set at either the top-level (as I did here), or later in personalizations.

To use it, you would just define a send_at method that returns a unix timestamp.

def send_at
  1.hour.from_now.to_utc.to_unix
end

Then you send your email like normal and Sendgrid will handle delivering this email in an hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants