API for vacation/autoresponders

Version 1.213

Feature
Finished

AutoResponders: ** view all autoresponders CMD_API_EMAIL_AUTORESPONDER domain=domain.com returns: user1=email@domain.com user2=email2@domain.com user3= user4= where... user1, user2 .etc.. are the name of the autoresponders. email@domain.com are the cc copies to be sent. If no email@domain.com is specified, then no cc email is to be sent. ** Delete auto responders CMD_API_EMAIL_AUTORESPONDER action=delete domain=domain.com select0=user1 (select1=user2) (...) ** create an auto responder CMD_API_EMAIL_AUTORESPONDER action=create domain=domain.com user=user (without @domain.com) text=autoresponder message cc=ON or OFF (if you want to send a cc to email) email=value of the cc, only if cc is ON. create=Create ** view an autoresponder CMD_API_EMAIL_AUTORESPONDER_MODIFY domain=domain.com user=user1 (without @domain.com) returns: email=email@cc.com&text=autoreply message&user=user1 ================================================================================================== Vacation messages: ** List all vacation messages: CMD_API_EMAIL_VACATION domain=domain.com returns: url encoded string. Each encoded value is another encoded string with the time values, eg: char=endday%3D%30%34%26endmonth%3D%30%31%26endtime%3Dafternoon%26endyear%3D%32%30%30%35%26startday%3D%30%33%26startmonth%3D%30%31%26starttime%3Dafternoon%26startyear%3D%32%30%30%34&new=endday%3D%31%37%26endmonth%3D%30%34%26endtime%3Devening%26endyear%3D%32%30%30%35%26startday%3D%31%37%26startmonth%3D%30%32%26starttime%3Dafternoon%26startyear%3D%32%30%30%34 ** create a vacation message CMD_API_EMAIL_VACATION domain=domain.com action=create user=user (user part of user@domain.com) text=the vaction text starttime=morning|afternoon|evening startmonth=01|02|03|...|12 startday=01|02|03|...|31 startyear=2002|2003| ... endtime,endmonth,endday,endyear, all the same format as "start". create=Create ** view a vacation message: CMD_API_EMAIL_VACATION_MODIFY domain=domain.com user=user ** change a vacation message CMD_API_EMAIL_VACATION domain=domain.com action=modify user=user (user part of user@domain.com) text=the vaction text starttime=morning|afternoon|evening startmonth=01|02|03|...|12 startday=01|02|03|...|31 startyear=2002|2003| ... endtime,endmonth,endday,endyear, all the same format as "start". ** Delete a vacation message CMD_API_EMAIL_VACATION domain=domain.com action=delete select0=user (select2=user2) ..etc

Interested to try DirectAdmin? Get a 30-day Free Trial!