Hiding the option to forward e-mail

Document ID: 10536

Synopsis

You can specifically remove the "Forward all mail to the following addresses" option under the general settings tab.

More Information

Hiding the option to forward e-mail You can specifically remove the "Forward all mail to the following addresses" option under the general settings tab.

Navigate to the file \MailSite\WebServices\Web.UI\SettingsManager\SettingsEditor\SettingsEditor.ascx and make a backup of the original file. After you have a backup, open the file with a text editor.

Any changes made to SettingsEditor.ascx are server wide.

Find the code starting at line 86:

<asp:Label runat="server" ID="ForwardAllMailAddressLabel" CssClass="EditorLabel" /> <span class="EditorValue"> <asp:TextBox runat="server" ID="ForwardMailAddress" /> <asp:CheckBox ID="DontDeliver" runat="server" CssClass="EditorCheckbox"/> </span>

Insert the code

<div style="display:none"></div>
around the forwarding section. It should look like this:

<div style="display:none"> <asp:Label runat="server" ID="ForwardAllMailAddressLabel" CssClass="EditorLabel" /> <span class="EditorValue"> <asp:TextBox runat="server" ID="ForwardMailAddress" /> <asp:CheckBox ID="DontDeliver" runat="server" CssClass="EditorCheckbox"/> </span> </div>

Save the file and close. The forwarding email section should now be hidden in the general settings tab.

*** Note: When making changes to these config files, please be aware we do not support modified or customized settings. ***