smeserver-autodiscover/root/etc/e-smith/templates/var/www/Autodiscover/Mozilla.php/80Webmail

19 lines
774 B
Plaintext
Raw Permalink Normal View History

{
# <!-- This allows to access the webmail service of the provider.
# The URLs are loaded into a standard webbrowser for the user.
# Specifying this is optional. -->
return " <!-- no webmail available-->" if $horde{'status'} eq "disabled";
$OUT=<<'string_ending_delimiter';
<webMail>
<loginPage url="https://<?php echo $_SERVER['SERVER_NAME']; ?>/webmail" />
<loginPageInfo url="https://<?php echo $_SERVER['SERVER_NAME']; ?>/webmail">
<username>%EMAILLOCALPART%</username>
<usernameField id="horde_user" name="horde_user" />
<passwordField id="horde_pass" name="horde_pass" />
<loginButton id="login_button" name="login_button"/>
</loginPageInfo>
</webMail>
string_ending_delimiter
}