smeserver-autodiscover/root/etc/e-smith/templates/var/www/Autodiscover/Autodiscover.php/20POP

17 lines
424 B
Plaintext
Raw Normal View History

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