Skip to content
Permalink
Browse files

mail test

  • Loading branch information...
admin
admin committed Apr 1, 2016
1 parent 3a1bdbe commit 2e557fa2683bc1dec73d0d90192c0da52c7669e8
Showing with 11 additions and 12 deletions.
  1. BIN media/ico/Distance-icon.png
  2. +11 −12 modules/mail/html/mail_settings.php
0 media/ico/Distance-icon.png 100644 → 100755
No changes.
@@ -41,10 +41,10 @@
$conf = array (
'defaults' => '',
'tls' => "on",
'tls_starttls' => "on",
'tls_trust_file' => '/etc/ssl/certs/ca-certificates.crt',
'tls_certcheck' => "on",
'tls' => "$tls",
// 'tls_starttls' => "on",
// 'tls_trust_file' => '/etc/ssl/certs/ca-certificates.crt',
'tls_certcheck' => "$tlscheck",
'account' => 'default',
'host' => "$host",
'port' => "$port",
@@ -104,7 +104,7 @@
<div class="form-group">
<label class="col-md-4 control-label" for="smtp">Server SMTP</label>
<div class="col-md-4">
<input id="host" name="host" placeholder="" class="form-control input-md" required="" type="text" value="<?php echo $a['host']; ?>">
<input id="host" name="host" placeholder="smtp.gmail.com" class="form-control input-md" required="" type="text" value="<?php echo $a['host']; ?>">

</div>
</div>
@@ -113,7 +113,7 @@
<div class="form-group">
<label class="col-md-4 control-label" for="port">Port</label>
<div class="col-md-2">
<input id="port" name="port" placeholder="" class="form-control input-md" required="" type="text" value="<?php echo $a['port']; ?>">
<input id="port" name="port" placeholder="587" class="form-control input-md" required="" type="text" value="<?php echo $a['port']; ?>">

</div>
</div>
@@ -130,29 +130,28 @@
</div>
</div>

<!--

<div class="form-group">
<label class="col-md-4 control-label" for="tls">TLS</label>
<div class="col-md-4">
<select id="tls" name="tls" class="form-control">
<option value="on" <?php echo $a['tls'] == 'on' ? 'selected="selected"' : ''; ?>>on</option>
<option value="on" <?php echo $a['tls'] == 'on' ? 'selected="selected"' : 'selected="selected"'; ?>>on</option>
<option value="off" <?php echo $a['tls'] == 'off' ? 'selected="selected"' : ''; ?>>off</option>
</select>
</div>
</div>


<div class="form-group">
<label class="col-md-4 control-label" for="tlscheck">TLS
Check</label>
<label class="col-md-4 control-label" for="tlscheck">TLS Check</label>
<div class="col-md-4">
<select id="tlscheck" name="tlscheck" class="form-control">
<option value="on" <?php echo $a['tlscheck'] == 'on' ? 'selected="selected"' : ''; ?>>on</option>
<option value="off" <?php echo $a['tlscheck'] == 'off' ? 'selected="selected"' : ''; ?> >off</option>
<option value="off" <?php echo $a['tlscheck'] == 'off' ? 'selected="selected"' : 'selected="selected"'; ?> >off</option>
</select>
</div>
</div>
-->


<!-- Button -->
<div class="form-group">

0 comments on commit 2e557fa

Please sign in to comment.
You can’t perform that action at this time.