View Single Post
Old 31st July 2012, 20:04
globiws globiws is offline
Junior Member
Join Date: Jun 2012
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default API mail user add autoresponder not working

Hi Everyone,

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.
Reply With Quote
Sponsored Links