diff src/plugins/plugin_misc_smtp.py @ 1220:f91e7028e2c3

memory (params), tools (xml_tools), plugins, frontends: add "int" parameter type with "min" and "max" attributes
author souliane <souliane@mailoo.org>
date Fri, 03 Oct 2014 12:27:43 +0200
parents e90125d07072
children 72f25d671368
line wrap: on
line diff
--- a/src/plugins/plugin_misc_smtp.py	Mon Sep 22 22:25:44 2014 +0200
+++ b/src/plugins/plugin_misc_smtp.py	Fri Oct 03 12:27:43 2014 +0200
@@ -51,7 +51,7 @@
     <params>
     <general>
     <category name="Mail Server">
-        <param name="SMTP Port" value="10125" type="string" />
+        <param name="SMTP Port" value="10125" type="int" min="25" max="65535" />
     </category>
     </general>
     </params>