API mail user add autoresponder not working
I have a script that uses the API to create mail users using $client->mail_user_add
Everything is working fine, except that autoresponders do not have their start and end date set.
'autoresponder' => 'y',
'autoresponder_start_date' => '2001-01-01',
'autoresponder_end_date' => '2099-12-31',
'autoresponder_text' => 'whatever the text is for out of office',
There are no errors returned, and the mail user is created successfully. The autoresponder text is correct, and it is enabled. It's just the dates which are left blank. I looked into the database, and the dates are blank there too.
Any ideas what format these dates should be?
Thanks in advance.