[% USE Api2; SET CPANEL.CPVAR.dprefix = "../"; IF FORM.item('itemsperpage'); SET CPANEL.CPVAR.itemsperpage = FORM.item('itemsperpage'); END; IF (!( FORM.item('itemsperpage')) || !( CPANEL.CPVAR.item('itemsperpage'))); SET CPANEL.CPVAR.itemsperpage = "10"; END; SET api2_result_StatsBar_stat = []; SET api2_result_Email_listforwards = []; SET api2_result_Email_listdomainforwards = []; IF CPANEL.feature('forwarders'); SET api2_result_StatsBar_stat = Api2.exec("StatsBar", "stat", { "warnings"=>"1", "infinitylang"=>"true", "warninglevel"=>"80", "display"=>"forwarders" }); SET api2_result_Email_listforwards = Api2.exec("Email", "listforwards", { "api2_paginate_size"=>CPANEL.CPVAR.itemsperpage.html, "domain"=>(RAW_FORM.domain), "api2_paginate"=>"1", "regex"=>(RAW_FORM.item('searchregex')), "api2_paginate_start"=>(FORM.item('api2_paginate_start')) }); END; IF CPANEL.feature('emaildomainfwd'); SET api2_result_Email_listdomainforwards = Api2.exec("Email", "listdomainforwards", { "domain"=>RAW_FORM.domain } ); END; %] [% js_code = PROCESS js_block %] [% WRAPPER '_assets/master.html.tt' page_js = js_code app_key = 'forwarders' -%]
[% locale.maketext("[output,strong,Warning]: You currently use [numf,_1] out of [numf,_2]", hashref.count, hashref.max) %]
[% END %][% locale.maketext("Send a copy of any incoming email from one address to another. For example, forward [output,strong,joe@example.com] to [output,strong,joseph@example.com] so that you only have one inbox to check. For more information, read the [output,url,_1,documentation,target,_2,id,_3].", "//go.cpanel.net/Forwarders", "_blank", "lnkForwardersDocumentation") %]
| [% locale.maketext("Email Address") %] | [% locale.maketext("Forward To") %] | [% locale.maketext("Actions") %] |
|---|---|---|
| [% hashref.item('dest').html() %] | [% hashref.item('forward').html() %] | [% locale.maketext("Trace") %] [% locale.maketext("Delete") %] |
| [% locale.maketext("There are no forwarders configured for the current domain.") %] | ||
[% locale.maketext("In addition to forwarding individual mail accounts, you can forward all email from one domain to another.") %]
| [% locale.maketext("Domain") %] | [% locale.maketext("Forward To") %] | [% locale.maketext("Delete") %] |
|---|---|---|
| [% hashref.dest.html() %] | [% hashref.forward.html() %] | [% locale.maketext("Delete") %] |
| [% locale.maketext("There are no Domain Forwarders setup for this domain.") %] | ||