source: products/vendor/Products.MailHost/current/src/Products/MailHost/dtml/manageMailHost.dtml @ 3356

Last change on this file since 3356 was 3356, checked in by fenix, 7 years ago

Load 2.13.1 into vendor/Products.MailHost?/current.

  • Property svn:eol-style set to native
File size: 4.4 KB
Line 
1<dtml-var manage_page_header>
2<dtml-var manage_tabs>
3
4<form action="manage_makeChanges" method="post">
5<table cellspacing="0" cellpadding="2" border="0">
6  <tr>
7    <td align="left" valign="top">
8    <div class="form-label">
9    Id
10    </div>
11    </td>
12    <td align="left" valign="top">
13    <div class="form-text">
14    &dtml-id;
15    </div>
16    </td>
17  </tr>
18  <tr>
19    <td align="left" valign="top">
20    <div class="form-optional">
21    Title
22    </div>
23    </td>
24    <td align="left" valign="top">
25    <input type="text" name="title" size="40"
26     value="&dtml-title;"/>
27    </td>
28  </tr>
29  <tr>
30    <td align="left" valign="top">
31    <div class="form-label">
32    SMTP Host
33    </div>
34    </td>
35    <td align="left" valign="top">
36    <input type="text" name="smtp_host" size="40"
37     value="&dtml-smtp_host;"/>
38    </td>
39  </tr>
40  <tr>
41    <td align="left" valign="top">
42    <div class="form-label">
43    SMTP Port
44    </div>
45    </td>
46    <td align="left" valign="top">
47    <input type="text" name="smtp_port:int" size="4"
48     value="&dtml-smtp_port;"/>
49    </td>
50  </tr>
51  <tr>
52    <td align="left" valign="top">
53    <div class="form-label">
54    Username
55    </div>
56    </td>
57    <td align="left" valign="top">
58    <input type="text" name="smtp_uid" size="15"
59     value="&dtml.null-smtp_uid;"/>
60    </td>
61    <td>
62    <span class="form-help">(optional for SMTP AUTH)</span>
63    </td>
64  </tr>
65  <tr>
66    <td align="left" valign="top">
67    <div class="form-label">
68    Password
69    </div>
70    </td>
71    <td align="left" valign="top">
72    <input type="password" name="smtp_pwd" size="15"
73     value="&dtml.null-smtp_pwd;"/>
74    </td>
75    <td>
76    <span class="form-help">(optional for SMTP AUTH)</span>
77    </td>
78  </tr>
79  <tr>
80    <td align="left" valign="top">
81    <div class="form-label">
82    Force TLS
83    </div>
84    </td>
85    <td align="left" valign="top">
86    <input type="checkbox" name="force_tls:boolean" value="1"
87     <dtml-if "force_tls">checked</dtml-if>
88    </td>
89    <td>
90        <span class="form-help">(enforce the use of an encrypted connection
91            to the SMTP server. Mail delivery fails if the SMTP server
92            does not support encryption)
93        </span>
94    </td>
95  </tr>
96  <tr>
97    <td align="left" valign="top">
98    <div class="form-label">
99    Use mail queue
100    </div>
101    </td>
102    <td align="left" valign="top">
103    <input type="checkbox" name="smtp_queue:boolean" value="1"
104     <dtml-if "smtp_queue">checked</dtml-if>
105    </td>
106    <td>
107    <span class="form-help">(asynchronous mail delivery if checked)</span>
108    </td>
109  </tr>
110  <tr>
111    <td align="left" valign="top">
112    <div class="form-label">
113    Queue directory<br/>
114    </div>
115    </td>
116    <td align="left" valign="top">
117    <input type="text" name="smtp_queue_directory" size="30"
118     value="&dtml-smtp_queue_directory;"/>
119    </td>
120    <td>
121    <span class="form-help">(directory on the filesystem where the mails will be spooled. Only used if 'Use mail queue' is checked.)</span>
122    </td>
123  </tr>
124  <tr>
125    <td align="left" valign="top">
126    </td>
127    <td align="left" valign="top">
128    <div class="form-element">
129    <input class="form-element" type="submit" name="submit"
130     value="Save Changes" />
131    </div>
132    </td>
133  </tr>
134</table>
135
136<dtml-if smtp_queue>
137    <br />
138    <table cellspacing="0" cellpadding="2" border="0">
139      <tr>
140        <td align="left" valign="top">
141        <div class="form-label">
142        Mails in queue <br/>
143        </div>
144        </td>
145        <td align="left" valign="top">
146            <span class="form-help"><dtml-var queueLength></span>
147        </td>
148      </tr>
149      <tr>
150        <td align="left" valign="top">
151        <div class="form-label">
152        Status of queue processor thread<br/>
153        </div>
154        </td>
155        <td align="left" valign="top">
156            <div class="form-help">
157
158                <dtml-if "queueThreadAlive()">
159                    Running
160                    <br/>
161                    <a href="manage_restartQueueThread?action=stop">Stop queue processor thread</a> (this may take some seconds)
162                </dtml-if>
163                <dtml-if "not queueThreadAlive()">
164                    Stopped
165                    <br/>
166                    <a href="manage_restartQueueThread?action=start">Start queue processor thread</a> (this may take some seconds)
167                </dtml-if>
168            </div>
169        </td>
170      </tr>
171    </table>
172</dtml-if>
173
174</form>
175
176<dtml-var manage_page_footer>
Note: See TracBrowser for help on using the repository browser.