You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug/issue
Related to get_domain_activity, error is that i don't provide date_to and date_from even though i do provide them as you can see in the code below
The bug/issue
Related to get_domain_activity, error is that i don't provide date_to and date_from even though i do provide them as you can see in the code below
To Reproduce
Steps to reproduce the behavior:
mailer = activity.NewActivity(api_key)
end_date = datetime.datetime.now()
start_date = end_date - datetime.timedelta(days=1)
#end_date=end_date.isoformat()
#start_date=start_date.isoformat()
end_date = int(end_date.timestamp())
start_date = int(start_date.timestamp())
events = [
"delivered",
]
sent_emails=mailer.get_domain_activity("my domain",limit=100,date_from=start_date, date_to=end_date, event=events)
sent_emails=json.loads(str(sent_emails))
Expected behavior
I have the list.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: