php - How does the Mandrill API handle the send_at parameter for free accounts? -
here’s setup: we’re @ free level of mandrill, using api via php. using example scripts on mandrill site (link below) , changing few essentials (key, recipient, etc.)...
https://mandrillapp.com/api/docs/messages.php.html
...we’re finding “send_at” parameter hanging up. here’s response script if “send_at” set null or “”:
array ( [0] => array ( [email] => someone@somewhere.com [status] => queued [_id] => 0c16bc002c874911ae36558881e5da77 ) )
if assign date/time “send_at” parameter (a date in past per mandrill api instructions), following response script:
a mandrill error occurred: mandrill_paymentrequired - email scheduling available accounts positive balance.
what have “send_at” parameter use mandrill api free account?
you can omit parameter altogether. it's optional , since you're not scheduling, don't need provide it. we'd recommend removing of optional parameters you're not setting testing purposes, , add ones need or specifying in calls.
Comments
Post a Comment