diff options
Diffstat (limited to 'src/MailmanLib.php')
-rw-r--r-- | src/MailmanLib.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/MailmanLib.php b/src/MailmanLib.php new file mode 100644 index 0000000..ca3dadf --- /dev/null +++ b/src/MailmanLib.php @@ -0,0 +1,11 @@ +<?php + +function read_raw_message($url) { + $input = file_get_contents($url); + if (!$input) { + trigger_error("No input in $url", E_USER_ERROR); + } + return $input; +} + +?> |