+ var $maxspool = 3000;
+
+ var $hdecode = array('from','name','organization','subject');
+ var $parse_hdr = array('content-disposition', 'content-transfer-encoding',
+ 'content-type', 'content-id', 'date', 'followup-to',
+ 'from', 'message-id', 'newsgroups', 'organization',
+ 'references', 'subject', 'x-face');
+ var $show_hdr = array('from', 'newsgroups', 'followup', 'date',
+ 'organization', 'references', 'x-face');
+
+ /** Favorites MIMEtypes to use, by order for reading multipart messages
+ */
+ var $body_mime = array('text/plain', 'text/html', 'text/richtext');
+ /** Indicate wether posting attachment is allowed
+ */
+ var $can_attach = true;
+ /** Maximum allowed file size for attachment
+ */
+ var $maxfilesize = 100000;
+ /** Indicate wether x-face should be skinned as specials data or not
+ */
+ var $formatxface = true;
+
+ /** Regexp for selecting newsgroups to show (if empty, match all newsgroups)
+ * ex : '^xorg\..*' for xorg.*
+ */
+ var $grp_pattern;
+
+ var $tbefore = 5;
+ var $tafter = 5;
+ var $tmax = 50;
+
+ var $wrap = 74;
+ /** Match an url
+ * Should be included in a regexp delimited using ! (eg: "!$url_regexp!i")
+ * If it matches, return 3 main parts :
+ * \\1 and \\3 are delimiters
+ * \\2 is the url
+ *
+ * eg : preg_match("!$url_regexp!i", "[http://www.polytechnique.org]", $matches);
+ * $matches[1] = "["
+ * $matches[2] = "http://www.polytechnique.org"
+ * $matches[3] = "]"
+ */
+ var $url_regexp = '(["\[])?((?:https?|ftp|news)://(?:&|,*[a-z@0-9.~%$£µ&i#\-+=_/\?])*)(["\]])?';