smeserver-autodiscover/root/etc/e-smith/templates/var/www/Autodiscover/Autodiscover.php/15IMAP

17 lines
381 B
Plaintext

{
return "" unless $imaps{'status'} eq "enabled";
$OUT=<<'string_ending_delimiter';
<Protocol>
<Type>IMAP</Type>
<Server><?php echo $_SERVER['SERVER_NAME']; ?></Server>
<Port>993</Port>
<SPA>off</SPA>
<SSL>on</SSL>
<AuthRequired>on</AuthRequired>
<?php echo $LoginName; ?>
</Protocol>
string_ending_delimiter
}