summaryrefslogtreecommitdiff
path: root/src/MailmanMessage.php
blob: c284a8e6e1353aae8cff36fd6ce4d11ee5e184f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

require_once(__DIR__ . '/EmailMessage.php');

class MailmanMessage extends EmailMessage {
  public function __construct($input) {
    parent::__construct($input); 
  }

  public function getSource() {
    return self::parse_addr(
      substr_replace($this->msg->headers['list-post'], '', 1, 7)
    );
  }
}

?>