Friday, July 20, 2012

Plesk - Autoresponder in Cron job

This command could be in cronjob for automtic on/off autoresponder:

for activating:

/usr/local/psa/bin/mail  -u YOUR@EMAIL.COM -autostatus true -autoname AUTORESPONSE-NAME -autorsp true


for deactivating:

 /usr/local/psa/bin/mail  -u YOUR@EMAIL.COM -autostatus false -autoname AUTORESPONSE-NAME -autorsp false

1 comment:

Stephan Muller said...

Hi mate, am trying to use the Cron for activating the autoresponder, but haven't managed to get it working. what do I put in the AUTORESPONSE-NAME and when I have tried to run it, is comes back with the error,

Could not open Repository at "/etc/sw/keys": Cannot open file Unable to connect to database: get_admin_password() failed: file_get_contents() failed:

Any help would be much appreciated, my email is stephan@thoroughclean.com.au - thanks