View Single Post
  #2 (permalink)  
Old 06-08-2009, 12:20 PM
cPanelDavidG's Avatar
cPanelDavidG cPanelDavidG is offline
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by sirbrent View Post
Hello,
I am rewriting the cpanel auto-responder page which is available to webmail user when logging-in.

Essentially I am looking for a way to get auto-responder status, if its on or off for the logged-in email account. I want to be able to determine this so I can set conditional text on the page. For example if the condition returns true then i would display text "Auto-responder is currently on for this account".

I cannot seem to find a way to do this, although i note several ways to get auto-responder data using the api.

Eg.
Code:
<cpanel Email="getarsbody(FORM{'email'})">
But nothing to simply get the status of auto-responders.

Any help would be appreciated.
You could do something like:

HTML Code:
<cpanelfeature autoresponders>
Autoresponders are enabled for this account.
</cpanelfeature>
Please be sure to modify these pages on your own copy of a theme. Editing the X3 theme files, even for webmail, directly will likely result in your modifications being lost.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Reply With Quote