Changes

From SME Server
Jump to navigationJump to search
Created page with "=== NAME === esmith::FormMagick::Panels::emailsettings - merged email panels In a root terminal you can do the command below if you want to display the up-to-date content pe..."
=== NAME ===
esmith::FormMagick::Panels::emailsettings - merged email panels
In a root terminal you can do the command below if you want to display the up-to-date content
perldoc esmith::FormMagick::Panels::emailsettings
=== SYNOPSIS ===
use esmith::FormMagick::Panels::emailsettings;

my $panel = esmith::FormMagick::Panel::emailsettings->new();
$panel->display();

=== DESCRIPTION ===
==== new(); ====

Exactly as for esmith::FormMagick

==== get_prop ITEM PROP ====

A simple accessor for esmith::ConfigDB::Record::prop

==== get_value ITEM ====

A simple accessor for esmith::ConfigDB::Record::value

==== get_emailunknownuser_options ====

Return a hash of existing system accounts and returntosender

==== get_secondary_mail_use_envelope ====

Returns on or off, based on whether or not the fetchmail "SecondaryMailEnvelope" property is set.

==== fetchmail_frequencies ====

Returns a string of a hash of frequencies to have fetchmail check mail

=== ACTION ===
==== change_settings_reception ====

If everything has been validated, properly, go ahead and set the new settings

===== blank_or_ip_number() =====

Validator. Checks that the input is either blank or an IP number. This is a wrapper around CGI::FormMagick::Validator::Network::ip_number().

===== get_retrieval_options =====

Returns the options values for the retrieval mode select box. In private S&G mode, we only support multidrop.
===== get_current_pop3_access =====

returns "private", "public" or "publicSSL", depending on whether the various components of the pop3 subsystem are currently enabled
===== get_current_imap_access =====

returns "private", "public" or "publicSSL", depending on whether the various components of the imap subsystem are currently enabled

===== get_current_smtp_auth =====

returns "disabled", "public" or "publicSSL", depending on whether the various components of the smtp auth subsystem are currently enabled

===== get_current_webmail_status =====

returns "disabled", "enabled" or "enabledSSL", depending on whether the various components of the webmail subsystem are currently enabled

=== VALIDATION ROUTINES ===
==== validate_smarthost ====

Returns OK if smarthost is valid.

Returns SMARTHOST_VALIDATION_ERROR and pushes us back to the first page otherwise.

==== getExtraParams ====

Returns some extra values for localise() that are used to evaluate embedded vars in localised text.
[[Category:Developer]]
[[Category:SME Server Development Framework]]
[[Category:Development Tools]]

Navigation menu