Queries your scheduled emails by sender or recipient, or both.
Signature
public function listScheduled([string
$to = NULL] )
Parameters
$to
—
string
an optional recipient address to restrict results to
Returns
array
a list of up to 1000 scheduled emails - return[] struct a scheduled email
- _id string the scheduled message id
- created_at string the UTC timestamp when the message was created, in YYYY-MM-DD HH:MM:SS format
- send_at string the UTC timestamp when the message will be sent, in YYYY-MM-DD HH:MM:SS format
- from_email string the email's sender address
- to string the email's recipient
- subject string the email's subject