We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4fe00a30 authored by Craig Andrews's avatar Craig Andrews

When handling incoming mail, skip everything after a blank line if we already have content

parent f514f7b7
......@@ -265,6 +265,10 @@ class MailHandler
if (preg_match('/^\s*Begin\s+forward/', $line)) {
break;
}
// skip everything after a blank line if we already have content
if ($output !== '' && $line === '') {
break;
}
$output .= ' ' . $line;
}
......
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