Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 80676014 authored by rswindell's avatar rswindell

Created get_msg_body() utility function for use with external mail processors.

parent 868872bc
......@@ -23,4 +23,21 @@ function parse_msg_header(msgtxt)
\ No newline at end of file
function get_msg_body(msgtxt)
var body = new Array();
var hdr = true;
for(i in msgtxt) {
if(msgtxt[i].length==0) { // Header terminator
hdr = false;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment